@@ -5,7 +5,7 @@ import { HTMLCanvasElement } from './DOM/HTMLCanvasElement';
55import { HTMLVideoElement } from './DOM/HTMLVideoElement' ;
66import { XMLDocument } from './DOM/XMLDocument' ;
77import { Device , fromObject , View } from '@nativescript/core' ;
8- import { CanvasRenderingContext2D , WebGLRenderingContext , WebGL2RenderingContext , ImageData } from '@nativescript/canvas' ;
8+ import { CanvasRenderingContext2D , WebGLRenderingContext , WebGL2RenderingContext , ImageData , ImageBitmap } from '@nativescript/canvas' ;
99
1010( global as any ) . CANVAS_RENDERER = 'true' ;
1111( global as any ) . WEBGL_RENDERER = 'true' ;
@@ -17,7 +17,7 @@ import { CanvasRenderingContext2D, WebGLRenderingContext, WebGL2RenderingContext
1717( global as any ) . window . self = ( global as any ) . self = ( global as any ) . self || window ;
1818( global as any ) . window . HTMLImageElement = ( global as any ) . HTMLImageElement = ( global as any ) . HTMLImageElement || HTMLImageElement ;
1919( global as any ) . window . Image = ( global as any ) . Image = ( global as any ) . Image || HTMLImageElement ;
20- ( global as any ) . window . ImageBitmap = ( global as any ) . ImageBitmap = ( global as any ) . ImageBitmap || HTMLImageElement ;
20+ ( global as any ) . window . ImageBitmap = ( global as any ) . ImageBitmap = ( global as any ) . ImageBitmap || ImageBitmap ;
2121( global as any ) . window . HTMLVideoElement = ( global as any ) . HTMLVideoElement = ( global as any ) . HTMLVideoElement || HTMLVideoElement ;
2222( global as any ) . window . Video = ( global as any ) . Video = ( global as any ) . Video || HTMLVideoElement ;
2323( global as any ) . window . HTMLCanvasElement = ( global as any ) . HTMLCanvasElement = ( global as any ) . HTMLCanvasElement || HTMLCanvasElement ;
0 commit comments