@@ -65,8 +65,8 @@ class NumberFormat(locales: String | js.Array[String],
6565trait CollatorOptions extends js.Object {
6666 val localeMatcher : js.UndefOr [String ]
6767 val usage : js.UndefOr [String ]
68- val sensivity : js.UndefOr [String ]
69- val ignore Punctua tion : js.UndefOr [Boolean ]
68+ val sensitivity : js.UndefOr [String ]
69+ val ignorePunctuation : js.UndefOr [Boolean ]
7070 val numeric : js.UndefOr [Boolean ]
7171 val caseFirst : js.UndefOr [String ]
7272}
@@ -94,7 +94,7 @@ object CollatorOptions {
9494 * Examples: a ≠ b, a ≠ á, a ≠ A.
9595 * The default is "variant" for usage "sort"; it's locale dependent for
9696 * usage "search".
97- * @param ignorePunctuation Whether punctuation should be ignored. Possible values are true
97+ * @param ignorePunctuation Whether punctuation should be ignored. Possible values are true
9898 * and false; the default is false.
9999 * @param numeric Whether numeric collation should be used, such that "1" < "2" < "10".
100100 * Possible values are true and false; the default is false.
@@ -114,17 +114,17 @@ object CollatorOptions {
114114 def apply (
115115 localeMatcher : js.UndefOr [String ] = js.undefined,
116116 usage : js.UndefOr [String ] = js.undefined,
117- sensivity : js.UndefOr [String ] = js.undefined,
118- ignore Punctua tion : js.UndefOr [Boolean ] = js.undefined,
117+ sensitivity : js.UndefOr [String ] = js.undefined,
118+ ignorePunctuation : js.UndefOr [Boolean ] = js.undefined,
119119 numeric : js.UndefOr [Boolean ] = js.undefined,
120120 caseFirst : js.UndefOr [String ] = js.undefined
121121 ): CollatorOptions = {
122122 js.Dynamic
123123 .literal(
124124 localeMatcher = localeMatcher,
125125 usage = usage,
126- sensivity = sensivity ,
127- ignore Punctua tion = ignore Punctua tion ,
126+ sensitivity = sensitivity ,
127+ ignorePunctuation = ignorePunctuation ,
128128 numeric = numeric,
129129 caseFirst = caseFirst
130130 )
0 commit comments