Skip to content

Commit 7ca823a

Browse files
authored
Merge pull request #1675 from cmmartin/patch-1
Add TS type for createPool to accept a string
2 parents 198f371 + 9c83375 commit 7ca823a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

promise.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ export function createConnection(connectionUri: string): Promise<Connection>;
145145
export function createConnection(
146146
config: ConnectionOptions
147147
): Promise<Connection>;
148+
export function createPool(connectionUri: string): Pool;
148149
export function createPool(config: PoolOptions): Pool;
149150

150151
export interface PreparedStatementInfo {

0 commit comments

Comments
 (0)