Skip to content

Commit

Permalink
style(typings): make properties of replSet optional
Browse files Browse the repository at this point in the history
This allows overriding just a single replSet property in our test files. It shouldn't cause any issues as changed properties have default values.
  • Loading branch information
Marcelo T Prado authored and nodkz committed Jul 25, 2019
1 parent f3c5964 commit cffa710
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/mongodb-memory-server-core/src/MongoMemoryReplSet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ import {
* @property {StorageEngineT} storageEngine `mongod` storage engine type; (default: 'ephemeralForTest')
*/
export interface ReplSetOpts {
auth: boolean;
args: string[];
count: number;
auth?: boolean;
args?: string[];
count?: number;
dbName: string;
ip: string;
name: string;
oplogSize: number;
spawn: SpawnOptions;
storageEngine: StorageEngineT;
ip?: string;
name?: string;
oplogSize?: number;
spawn?: SpawnOptions;
storageEngine?: StorageEngineT;
configSettings?: MongoMemoryReplSetConfigSettingsT;
}

Expand Down

0 comments on commit cffa710

Please sign in to comment.