Skip to content

Commit

Permalink
remove type restriction on create collection options
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed May 18, 2022
1 parent 91902aa commit 0bcfca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operations/create_collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export interface CreateCollectionOptions extends CommandOperationOptions {
* If set, enables pre-update and post-update document events to be included for any
* change streams that listen on this collection.
*/
changeStreamPreAndPostImages?: { enabled: true };
changeStreamPreAndPostImages?: { enabled: boolean };
}

/** @internal */
Expand Down

0 comments on commit 0bcfca4

Please sign in to comment.