File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1017,12 +1017,11 @@ export class CliRepl implements MongoshIOProvider {
10171017 }
10181018
10191019 async isTlsKeyFilePasswordMissingURI (
1020- searchParams : ReturnType <
1021- typeof ConnectionString . prototype . typedSearchParams < DevtoolsConnectOptions >
1022- >
1020+ searchParams : unknown
10231021 ) : Promise < boolean > {
1024- const tlsCertificateKeyFile = searchParams . get ( 'tlsCertificateKeyFile' ) ;
1025- const tlsCertificateKeyFilePassword = searchParams . get (
1022+ const searchMap = searchParams as Map < keyof DevtoolsConnectOptions , string > ;
1023+ const tlsCertificateKeyFile = searchMap . get ( 'tlsCertificateKeyFile' ) ;
1024+ const tlsCertificateKeyFilePassword = searchMap . get (
10261025 'tlsCertificateKeyFilePassword'
10271026 ) ;
10281027
You can’t perform that action at this time.
0 commit comments