Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Next version

- BREAKING: Fixes the type of `RegExp.Result.t` to be `array<option<string>>` instead of `array<string>`. https://github.com/rescript-association/rescript-core/pull/234.
- Fix type of `Nullable.t` which was not untagged in the implementation. https://github.com/rescript-association/rescript-core/pull/235

## 1.4.0

Expand Down
1 change: 1 addition & 0 deletions src/Core__Nullable.res
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@unboxed
type t<'a> = Js.Nullable.t<'a> =
| Value('a)
| @as(null) Null
Expand Down
2 changes: 1 addition & 1 deletion src/intl/Core__Intl__Common.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
type localeMatcher = [#lookup | @as("best fit") #bestFit]
type localeMatcher = [#lookup | #"best fit"]

type calendar = [
| #buddhist
Expand Down
2 changes: 1 addition & 1 deletion src/intl/Core__Intl__DateTimeFormat.res
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type timeZoneName = [
]

type hourCycle = [#h11 | #h12 | #h23 | #h24]
type formatMatcher = [#basic | @as("best fit") #bestFit]
type formatMatcher = [#basic | #"best fit"]
type fractionalSecondDigits = [#0 | #1 | #2 | #3]

type options = {
Expand Down