diff --git a/types/tarantool-driver/index.d.ts b/types/tarantool-driver/index.d.ts index 63b34cb6fa..e8d8e01be3 100644 --- a/types/tarantool-driver/index.d.ts +++ b/types/tarantool-driver/index.d.ts @@ -17,7 +17,7 @@ export interface TarantoolOptions { lazyConnect?: boolean; } -export default class TarantoolConnection extends EventEmitter { +declare class TarantoolConnection extends EventEmitter { constructor(options: TarantoolOptions); /* Connection */ @@ -56,3 +56,5 @@ export default class TarantoolConnection extends EventEmitter { replace(spaceId: number | string, tuple: any[]): Promise; } + +export = TarantoolConnection;