We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95672f2 commit a47157cCopy full SHA for a47157c
packages/core/src/chunk.source.ts
@@ -18,6 +18,7 @@ interface TinyMap<K, V> {
18
get(key: K): V | undefined;
19
set(key: K, value: V): unknown;
20
has(key: K): boolean;
21
+ clear(): unknown;
22
}
23
24
/**
@@ -27,7 +28,7 @@ interface TinyMap<K, V> {
27
28
*
29
* This will also handle joining of consecutive requests, even when it is semi consecutive
30
*/
-export abstract class ChunkSourceBase implements ChunkSource {
31
+export class ChunkSourceBase implements ChunkSource {
32
/** By default create a new cache for every chunk source */
33
static DefaultChunkCache = (): TinyMap<number, DataView> => new Map<number, DataView>();
34
0 commit comments