Skip to content

Commit

Permalink
Resolve issue #2001
Browse files Browse the repository at this point in the history
  • Loading branch information
dfahlander committed May 27, 2024
1 parent 49de2e1 commit 9354fc6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/public/types/table.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ export interface Table<T=any, TKey=any, TInsertType=T> {
add(item: TInsertType, key?: TKey): PromiseExtended<TKey>;
update(
key: TKey | T,
changes: UpdateSpec<TInsertType> | ((obj: T, ctx:{value: any, primKey: IndexableType}) => void | boolean)): PromiseExtended<number>;
changes: UpdateSpec<TInsertType>): PromiseExtended<number>;
update(
key: TKey | T,
changes: ((obj: T, ctx:{value: any, primKey: IndexableType}) => void | boolean)): PromiseExtended<number>;
put(item: TInsertType, key?: TKey): PromiseExtended<TKey>;
delete(key: TKey): PromiseExtended<void>;
clear(): PromiseExtended<void>;
Expand Down

0 comments on commit 9354fc6

Please sign in to comment.