nicoweidner commented on a change in pull request #17808:
URL: https://github.com/apache/flink/pull/17808#discussion_r750502031
##########
File path:
flink-runtime-web/web-dashboard/src/app/share/common/dagre/svg-container.component.ts
##########
@@ -94,12 +86,12 @@ export class SvgContainerComponent implements OnInit,
AfterContentInit {
this.transform = `translate(${this.containerTransform.x}
,${this.containerTransform.y})scale(${this.containerTransform.k})`;
}
this.zoomEvent.emit(this.zoom);
- this.transformEvent.emit(this.containerTransform as SafeAny);
+ this.transformEvent.emit((this.containerTransform as unknown) as { x:
number; y: number; scale: number });
Review comment:
Ok, I was just confused by the weird type mismatches going on, but as
you said - let's fix it some other time
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]