Skip to content

Commit

Permalink
Improved typescript definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
cressie176 committed Jan 25, 2024
1 parent c916a4a commit 8620143
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export default class Filby {
startNotifications(): Promise<void>;
stopNotifications(): Promise<void>;
subscribe<T>(event: string, handler: (notification: T) => Promise<void>);
unsubscribe<T>(event: string, handler: (notification: T) => Promise<void>);
unsubscribeAll(event?: string);
unsubscribe<T>(event: string, handler?: (notification: T) => Promise<void>);
unsubscribeAll();
stop(): Promise<void>;
withTransaction<T>(callback: (client: PoolClient) => Promise<T>): Promise<T>;
getProjections(): Promise<Projection[]>;
Expand Down

0 comments on commit 8620143

Please sign in to comment.