From 10c43ca7cd1e72c90430496e8b149dbd4bcef5bb Mon Sep 17 00:00:00 2001 From: Robert Long Date: Tue, 28 Jun 2022 13:22:23 -0700 Subject: [PATCH] Fix mising typescript types --- src/base/LoaderBase.d.ts | 10 ++++++++++ src/utilities/LRUCache.d.ts | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 src/base/LoaderBase.d.ts diff --git a/src/base/LoaderBase.d.ts b/src/base/LoaderBase.d.ts new file mode 100644 index 000000000..5f9ed8d25 --- /dev/null +++ b/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 >; + +} diff --git a/src/utilities/LRUCache.d.ts b/src/utilities/LRUCache.d.ts index b9a51a472..2df9584dd 100644 --- a/src/utilities/LRUCache.d.ts +++ b/src/utilities/LRUCache.d.ts @@ -13,6 +13,6 @@ export class LRUCache { markAllUnused() : void; unloadUnusedContent() : void; - scheduleUnload( markAllUnused : Boolean ); + scheduleUnload( markAllUnused? : Boolean ): void; }