Skip to content

Commit 8ec6831

Browse files
committed
Fix type issue causing test failure
1 parent f13d733 commit 8ec6831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/EffectImageBitmap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class EffectImageBitmap extends AsyncImageBitmap {
7070
throw new Error('Could not create 2D offscreen context');
7171
}
7272

73-
this.ctx = ctx;
73+
this.ctx = ctx as BackingCanvasContext;
7474
}
7575

7676
return this.ctx;

0 commit comments

Comments
 (0)