Skip to content

Commit

Permalink
Merge pull request #267 from matrix-org/basic-typescript-types
Browse files Browse the repository at this point in the history
Fix mising typescript types
  • Loading branch information
gkjohnson authored Jun 29, 2022
2 parents c2bccc4 + 10c43ca commit 3f02bcb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/base/LoaderBase.d.ts
Original file line number Diff line number Diff line change
@@ -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 >;

}
2 changes: 1 addition & 1 deletion src/utilities/LRUCache.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export class LRUCache {
markAllUnused() : void;

unloadUnusedContent() : void;
scheduleUnload( markAllUnused : Boolean );
scheduleUnload( markAllUnused? : Boolean ): void;

}

0 comments on commit 3f02bcb

Please sign in to comment.