@@ -65,8 +65,8 @@ class NumberFormat(locales: String | js.Array[String],
65
65
trait CollatorOptions extends js.Object {
66
66
val localeMatcher : js.UndefOr [String ]
67
67
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 ]
70
70
val numeric : js.UndefOr [Boolean ]
71
71
val caseFirst : js.UndefOr [String ]
72
72
}
@@ -94,7 +94,7 @@ object CollatorOptions {
94
94
* Examples: a ≠ b, a ≠ á, a ≠ A.
95
95
* The default is "variant" for usage "sort"; it's locale dependent for
96
96
* 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
98
98
* and false; the default is false.
99
99
* @param numeric Whether numeric collation should be used, such that "1" < "2" < "10".
100
100
* Possible values are true and false; the default is false.
@@ -114,17 +114,17 @@ object CollatorOptions {
114
114
def apply (
115
115
localeMatcher : js.UndefOr [String ] = js.undefined,
116
116
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,
119
119
numeric : js.UndefOr [Boolean ] = js.undefined,
120
120
caseFirst : js.UndefOr [String ] = js.undefined
121
121
): CollatorOptions = {
122
122
js.Dynamic
123
123
.literal(
124
124
localeMatcher = localeMatcher,
125
125
usage = usage,
126
- sensivity = sensivity ,
127
- ignore Punctua tion = ignore Punctua tion ,
126
+ sensitivity = sensitivity ,
127
+ ignorePunctuation = ignorePunctuation ,
128
128
numeric = numeric,
129
129
caseFirst = caseFirst
130
130
)
0 commit comments