We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cde497 commit 15b0e1eCopy full SHA for 15b0e1e
src/intl/Core__Intl__Locale.res
@@ -1,7 +1,19 @@
1
type t
2
3
+type options = {
4
+ language?: string,
5
+ script?: string,
6
+ region?: string,
7
+ calendar?: string,
8
+ collation?: string,
9
+ numberingSystem?: string,
10
+ caseFirst?: [#upper | #lower | #"false"],
11
+ hourCycle?: [#h11 | #h12 | #h23 | #h24],
12
+ numeric?: bool,
13
+}
14
+
15
@new external make: string => t = "Intl.Locale"
-@new external makeWithOptions: (string, {..}) => t = "Intl.Locale"
16
+@new external makeWithOptions: (string, options) => t = "Intl.Locale"
17
18
@get external baseName: t => string = "baseName"
19
@get external calendar: t => option<string> = "calendar"
0 commit comments