Skip to content

Commit fb2cc9b

Browse files
glennslillusionalsagacity
authored andcommitted
fix(intl): expose Intl.Common types (rescript-lang#197)
* fix(intl): expose Intl.Common types * docs: update change log * chore: add js artifacts for tests
1 parent 3fbe797 commit fb2cc9b

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- 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/233.
66
- BREAKING: Adds typed bindings to `Intl`, replacing the options type of `{..}` with records. https://github.com/rescript-association/rescript-core/pull/65
77
- BREAKING: Align List api with other modules (`List.getBy` -> `List.find` etc.). https://github.com/rescript-association/rescript-core/pull/195
8+
- Fix: Expose Intl.Common. https://github.com/rescript-association/rescript-core/pull/197
89
- Add `Dict.forEach`, `Dict.forEachWithKey` and `Dict.mapValues` https://github.com/rescript-association/rescript-core/pull/181
910
- Remove internal xxxU helper functions that are not needed anymore in uncurried mode. https://github.com/rescript-association/rescript-core/pull/191
1011
- Rename `Object.empty` to `Object.make` for consistency.

src/Core__Intl.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Generated by ReScript, PLEASE EDIT WITH CARE
22

33

4+
var Common;
5+
46
var Collator;
57

68
var DateTimeFormat;
@@ -20,6 +22,7 @@ var Segmenter;
2022
var Segments;
2123

2224
export {
25+
Common ,
2326
Collator ,
2427
DateTimeFormat ,
2528
ListFormat ,

src/Core__Intl.res

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
module Common = Core__Intl__Common
12
module Collator = Core__Intl__Collator
23
module DateTimeFormat = Core__Intl__DateTimeFormat
34
module ListFormat = Core__Intl__ListFormat

0 commit comments

Comments
 (0)