Selaa lähdekoodia

fix declaration for Window.webkitURL

Fabian Iwand 7 vuotta sitten
vanhempi
commit
752e098b7f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;