Skip to content

Commit 6187a5b

Browse files
vkarpov15ljhaywar
authored andcommitted
fix(operations): make every CollationOptions property optional except locale (#2727)
1 parent abaea3b commit 6187a5b

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/operations/command.ts

+8-7
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@ const SUPPORTS_WRITE_CONCERN_AND_COLLATION = 5;
1616
/** @public */
1717
export interface CollationOptions {
1818
locale: string;
19-
caseLevel: boolean;
20-
caseFirst: string;
21-
strength: number;
22-
numericOrdering: boolean;
23-
alternate: string;
24-
maxVariable: string;
25-
backwards: boolean;
19+
caseLevel?: boolean;
20+
caseFirst?: string;
21+
strength?: number;
22+
numericOrdering?: boolean;
23+
alternate?: string;
24+
maxVariable?: string;
25+
backwards?: boolean;
26+
normalization?: boolean;
2627
}
2728

2829
/** @public */

0 commit comments

Comments
 (0)