Skip to content

Commit 7ab436d

Browse files
fix: typos in the bindings for Intl
1 parent 6143197 commit 7ab436d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/intl/Core__Intl__DateTimeFormat.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ external formatRangeToParts: (
3232
"type": string,
3333
"value": string,
3434
"source": string,
35-
}> = "formatRange"
35+
}> = "formatRangeToParts"

src/intl/Core__Intl__PluralRules.res

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ external supportedLocalesOfWithOptions: (array<string>, {..}) => t =
1616

1717
type rule = [#zero | #one | #two | #few | #many | #other]
1818

19-
@send external select: (t, float) => rule = "format"
20-
@send external selectInt: (t, int) => rule = "format"
21-
@send external selectBigInt: (t, Core__BigInt.t) => rule = "format"
19+
@send external select: (t, float) => rule = "select"
20+
@send external selectInt: (t, int) => rule = "select"
21+
@send external selectBigInt: (t, Core__BigInt.t) => rule = "select"

0 commit comments

Comments
 (0)