Skip to content

Commit dc4e219

Browse files
committed
align store ts interface
1 parent f4cb384 commit dc4e219

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Documents/IDocumentStore.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,17 @@ export interface IDocumentStore extends IDisposable,
8383
/**
8484
* Opens document session
8585
*/
86-
openSession(database?: string, options?: SessionOptions): IDocumentSession;
86+
openSession(options: SessionOptions): IDocumentSession;
8787

8888
/**
8989
* Opens document session
9090
*/
91-
openSession(options?: SessionOptions): IDocumentSession;
91+
openSession(database: string): IDocumentSession;
9292

9393
/**
9494
* Opens document session
9595
*/
96-
openSession(database?: string): IDocumentSession;
96+
openSession(): IDocumentSession;
9797

9898
/**
9999
* Subscribe to change notifications from the server

0 commit comments

Comments
 (0)