Skip to content

Commit

Permalink
https://github.com/dexie/Dexie.js/pull/1764#issuecomment-1930577209
Browse files Browse the repository at this point in the history
  • Loading branch information
dfahlander committed Feb 7, 2024
1 parent 3577103 commit 97eb016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/public/types/table-hooks.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface DeletingHookContext<T,Key> {

interface TableHooks<T=any,TKey=IndexableType,TInsertType=T> extends DexieEventSet {
(eventName: 'creating', subscriber: (this: CreatingHookContext<T,TKey>, primKey:TKey, obj:T, transaction:Transaction) => void | undefined | TKey): void;
(eventName: 'reading', subscriber: (obj:TInsertType) => T | any): void;
(eventName: 'reading', subscriber: (obj:T) => T | any): void;
(eventName: 'updating', subscriber: (this: UpdatingHookContext<T,TKey>, modifications:Object, primKey:TKey, obj:T, transaction:Transaction) => any): void;
(eventName: 'deleting', subscriber: (this: DeletingHookContext<T,TKey>, primKey:TKey, obj:T, transaction:Transaction) => any): void;
creating: DexieEvent;
Expand Down

0 comments on commit 97eb016

Please sign in to comment.