@@ -8,7 +8,7 @@ import { DocumentStoreBase } from "./DocumentStoreBase";
88import { IDocumentStore } from "./IDocumentStore" ;
99import { MaintenanceOperationExecutor } from "./Operations/MaintenanceOperationExecutor" ;
1010import { OperationExecutor } from "./Operations/OperationExecutor" ;
11- import { IDocumentSession , ISessionOptions } from "./Session/IDocumentSession" ;
11+ import { IDocumentSession , SessionOptions } from "./Session/IDocumentSession" ;
1212import { DocumentSession } from "./Session/DocumentSession" ;
1313import { HiloMultiDatabaseIdGenerator } from "./Identity/HiloMultiDatabaseIdGenerator" ;
1414import { IAuthOptions } from "../Auth/AuthOptions" ;
@@ -152,11 +152,11 @@ export class DocumentStore extends DocumentStoreBase {
152152 /**
153153 * Opens document session
154154 */
155- public openSession ( sessionOpts : ISessionOptions ) : IDocumentSession ;
155+ public openSession ( sessionOpts : SessionOptions ) : IDocumentSession ;
156156 /**
157157 * Opens document session
158158 */
159- public openSession ( databaseOrSessionOptions ?: string | ISessionOptions ) : IDocumentSession {
159+ public openSession ( databaseOrSessionOptions ?: string | SessionOptions ) : IDocumentSession {
160160 this . assertInitialized ( ) ;
161161 this . _ensureNotDisposed ( ) ;
162162
@@ -167,11 +167,11 @@ export class DocumentStore extends DocumentStoreBase {
167167 }
168168
169169 let database : string ;
170- let sessionOpts : ISessionOptions ;
170+ let sessionOpts : SessionOptions ;
171171 let requestExecutor : RequestExecutor ;
172172 databaseOrSessionOptions = databaseOrSessionOptions || { } ;
173173 database = databaseOrSessionOptions . database || this . _database ;
174- sessionOpts = databaseOrSessionOptions as ISessionOptions ;
174+ sessionOpts = databaseOrSessionOptions as SessionOptions ;
175175 requestExecutor = sessionOpts . requestExecutor || this . getRequestExecutor ( database ) ;
176176
177177 const sessionId = uuid ( ) ;
0 commit comments