Skip to content

Commit d749abb

Browse files
committed
style(MongoInstance): move comment into tsdoc
1 parent 60858b1 commit d749abb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ export interface MongoMemoryInstanceOptsBase {
2727
export interface MongoMemoryInstanceOpts extends MongoMemoryInstanceOptsBase {
2828
auth?: boolean;
2929
dbName?: string;
30-
ip?: string; // for binding to all IP addresses set it to `::,0.0.0.0`, by default '127.0.0.1'
30+
/**
31+
* for binding to all IP addresses set it to `::,0.0.0.0`, by default '127.0.0.1'
32+
*/
33+
ip?: string;
3134
replSet?: string;
3235
storageEngine?: StorageEngine;
3336
}

0 commit comments

Comments
 (0)