Skip to content

Commit 7b54fae

Browse files
committed
fix(core): assert any for $event
1 parent 8864e0b commit 7b54fae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/core/nativescript/src/lib/canvas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ registerElement('Canvas', () => Canvas);
4949
standalone: true,
5050
template: `
5151
<GridLayout>
52-
<Canvas #canvas style="width: 100%; height: auto" (ready)="canvasElement.set($event.object)"></Canvas>
52+
<Canvas #canvas style="width: 100%; height: auto" (ready)="canvasElement.set($any($event).object)"></Canvas>
5353
</GridLayout>
5454
`,
5555
providers: [{ provide: DOCUMENT, useValue: document }, provideStore()],

0 commit comments

Comments
 (0)