Skip to content

Commit 4091963

Browse files
=mweibel
authored andcommitted
TS return type of the sync() method changed to promise
1 parent b2dc108 commit 4091963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface SequelizeStoreOptions {
2121
}
2222

2323
declare class SequelizeStore extends Store {
24-
sync(options?: SyncOptions): void
24+
sync(options?: SyncOptions): Promise<unknown>
2525
touch: (sid: string, data: any, callback?: (err: any) => void) => void
2626
stopExpiringSessions: () => void
2727
get(sid: string, callback: (err: any, session?: SessionData | null) => void): void

0 commit comments

Comments
 (0)