Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathArrayDatabase.d.ts
More file actions
Latest commit
29 lines (29 loc) · 969 Bytes
/
Copy pathArrayDatabase.d.ts
File metadata and controls
29 lines (29 loc) · 969 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
exportdeclareclassArrayDatabase<T=any>{
readonlyid: string;
staticreadonlyPROPERTY_MAX_SIZE=12000;
staticreadonlyPREFIX="array";
privatereadonlycache;
privatecacheLoaded;
privatecurrentKeyIndex;
constructor(id: string);
getAll(): T[];
add(value: T): this;
has(value: T): boolean;
clear(): void;
values(): IterableIterator<T>;
find(callbackfn: (value: T)=>boolean): T|undefined;
filter(callbackfn: (value: T)=>boolean): T[];
map<U>(callbackfn: (value: T)=>U): U[];
forEach(callbackfn: (value: T)=>void): void;
some(callbackfn: (value: T)=>boolean): boolean;
every(callbackfn: (value: T)=>boolean): boolean;
[Symbol.iterator](): IterableIterator<T>;
getsize(): number;
privatetrySave;
privateload;
privateunload;
privategetkeyPrefix();
privategetcurrentKey();
privategetindexKey();
get[Symbol.toStringTag](): string;
}