From 5558749dec26bfc65fd68fb3ab7bdfd3fb8c5880 Mon Sep 17 00:00:00 2001 From: "E.G. Hornbostel" Date: Mon, 21 Nov 2016 09:00:39 -0800 Subject: [PATCH] Connection.connect() Promise returns a Connection instance. --- mssql/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mssql/index.d.ts b/mssql/index.d.ts index f35d05f470..9d4d09a5f0 100644 --- a/mssql/index.d.ts +++ b/mssql/index.d.ts @@ -145,7 +145,7 @@ export declare class Connection extends events.EventEmitter { public connecting: boolean; public driver: string; public constructor(config: config, callback?: (err?: any) => void); - public connect(): Promise; + public connect(): Promise; public connect(callback: (err: any) => void): void; public close(): Promise; public close(callback: (err: any) => void): void;