We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb785a1 commit 551836fCopy full SHA for 551836f
src/intl/Core__Intl__Locale.res
@@ -1,7 +1,20 @@
1
type t
2
3
+type options = {
4
+ baseName?: string,
5
+ calendar?: string, // TODO: probably the same as Core__Intl__DateTimeFormat.calendar?
6
+ collation?: string, // TODO: probably the same as Core__Intl__Collator.collation?
7
+ hourCycle?: [#h11 | #h12 | #h23 | #h24],
8
+ caseFirst?: [#upper | #lower | #"false"],
9
+ numberingSystem?: Core__Intl__Common.numberingSystem,
10
+ numeric?: bool,
11
+ language?: string,
12
+ script?: string,
13
+ region?: string,
14
+}
15
+
16
@new external make: string => t = "Intl.Locale"
-@new external makeWithOptions: (string, {..}) => t = "Intl.Locale"
17
+@new external makeWithOptions: (string, options) => t = "Intl.Locale"
18
19
@get external baseName: t => string = "baseName"
20
@get external calendar: t => option<string> = "calendar"
0 commit comments