Skip to content

Commit

Permalink
Fix #31
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom authored Aug 24, 2021
1 parent fcb6d52 commit 06db85b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ declare module 'stormdb' {
delete(reindexLists: boolean): void;
push(value: any): void;
get(value: any): StormDB;
set(key: any, value: any): StormDB;
set(key: any, value?: any): StormDB;
map<T>(func: (value: any, index?: number, array?: any[]) => T): StormDB;
sort<T>(func: (a: T, b: T) => number): StormDB;
filter<T, S extends T>(func: (value: T, index?: number, array?: T[]) => value is S): StormDB;
Expand Down

0 comments on commit 06db85b

Please sign in to comment.