File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import which from "which";
88import { ConnectionString } from "mongodb-connection-string-url" ;
99import { MongoCluster , MongoClusterOptions } from "mongodb-runner" ;
1010import { downloadCryptLibrary } from "../packages/build/src/packaging/download-crypt-library" ;
11- import { dir } from "console" ;
1211
1312const execFile = promisify ( child_process . execFile ) ;
1413
@@ -55,7 +54,7 @@ export class MongodSetup {
5554
5655 async connectionString (
5756 searchParams : Partial < Record < keyof MongoClientOptions , string > > = { } ,
58- uriOptions : Partial < ConnectionString > = { }
57+ uriOptions : Partial < typeof ConnectionString > = { }
5958 ) : Promise < string > {
6059 if (
6160 Object . keys ( searchParams ) . length + Object . keys ( uriOptions ) . length ===
@@ -72,7 +71,7 @@ export class MongodSetup {
7271 return url . toString ( ) ;
7372 }
7473
75- async connectionStringUrl ( ) : Promise < ConnectionString > {
74+ async connectionStringUrl ( ) : Promise < typeof ConnectionString > {
7675 return new ConnectionString ( await this . connectionString ( ) ) ;
7776 }
7877
You can’t perform that action at this time.
0 commit comments