Skip to content

Commit

Permalink
fix(operations): make every CollationOptions property optional except…
Browse files Browse the repository at this point in the history
… `locale` (#2727)
  • Loading branch information
vkarpov15 authored Feb 2, 2021
1 parent 19ba74a commit 8a678e9
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/operations/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ const SUPPORTS_WRITE_CONCERN_AND_COLLATION = 5;
/** @public */
export interface CollationOptions {
locale: string;
caseLevel: boolean;
caseFirst: string;
strength: number;
numericOrdering: boolean;
alternate: string;
maxVariable: string;
backwards: boolean;
caseLevel?: boolean;
caseFirst?: string;
strength?: number;
numericOrdering?: boolean;
alternate?: string;
maxVariable?: string;
backwards?: boolean;
normalization?: boolean;
}

/** @public */
Expand Down

0 comments on commit 8a678e9

Please sign in to comment.