Explorar el Código

fix declaration for Window.webkitURL

Fabian Iwand hace 7 años
padre
commit
752e098b7f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/babylon.mixins.ts

+ 1 - 1
src/babylon.mixins.ts

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