Skip to content

Commit 75d805f

Browse files
committed
style(MongoInstance): remove "null" from "port"
1 parent 26af098 commit 75d805f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mongodb-memory-server-core/src/util/MongoInstance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type StorageEngine = 'devnull' | 'ephemeralForTest' | 'mmapv1' | 'wiredTi
1919

2020
export interface MongoMemoryInstanceOptsBase {
2121
args?: string[];
22-
port?: number | null;
22+
port?: number;
2323
dbPath?: string;
2424
storageEngine?: StorageEngine;
2525
}

0 commit comments

Comments
 (0)