Explorar o código

Fix mising typescript types

Robert Long %!s(int64=3) %!d(string=hai) anos
pai
achega
10c43ca7cd
Modificáronse 2 ficheiros con 11 adicións e 1 borrados
  1. 10 0
      src/base/LoaderBase.d.ts
  2. 1 1
      src/utilities/LRUCache.d.ts

+ 10 - 0
src/base/LoaderBase.d.ts

@@ -0,0 +1,10 @@
+export class LoaderBase {
+
+	fetchOptions: any;
+	workingPath: string;
+	load( url: string ): Promise< any >;
+	resolveExternalURL( url: string ): string;
+	workingPathForURL( url: string ): string
+	parse( buffer: ArrayBuffer ): Promise< any >;
+
+}

+ 1 - 1
src/utilities/LRUCache.d.ts

@@ -13,6 +13,6 @@ export class LRUCache {
 	markAllUnused() : void;
 
 	unloadUnusedContent() : void;
-	scheduleUnload( markAllUnused : Boolean );
+	scheduleUnload( markAllUnused? : Boolean ): void;
 
 }