Browse Source

fix declaration for Window.webkitURL

Fabian Iwand 7 years ago
parent
commit
752e098b7f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/babylon.mixins.ts

+ 1 - 1
src/babylon.mixins.ts

@@ -3,7 +3,7 @@ interface Window {
     mozIndexedDB: IDBFactory;
     mozIndexedDB: IDBFactory;
     webkitIndexedDB: IDBFactory;
     webkitIndexedDB: IDBFactory;
     msIndexedDB: IDBFactory;
     msIndexedDB: IDBFactory;
-    webkitURL: URL;
+    webkitURL: typeof URL;
     mozRequestAnimationFrame(callback: FrameRequestCallback): number;
     mozRequestAnimationFrame(callback: FrameRequestCallback): number;
     oRequestAnimationFrame(callback: FrameRequestCallback): number;
     oRequestAnimationFrame(callback: FrameRequestCallback): number;
     WebGLRenderingContext: WebGLRenderingContext;
     WebGLRenderingContext: WebGLRenderingContext;