Skip to content

Commit ab9371a

Browse files
authored
switch global null to come from Nullable module and not Null (#88)
* switch global null to come from Nullable module and not Null * changelog
1 parent a976a8c commit ab9371a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
- Remove `reduceReverse` in favor of `reduceRight`. https://github.com/rescript-association/rescript-core/pull/49
2424
- Fixed type signatures of `reduce` and `reduceWithIndex`. https://github.com/rescript-association/rescript-core/pull/49
2525
- Add `panic`/`Error.panic`. https://github.com/rescript-association/rescript-core/pull/72
26+
- The globally available `null` value now originates from `Nullable` and not `Null`, just like the globally available `undefined` value does. https://github.com/rescript-association/rescript-core/pull/88
2627

2728
### Documentation
2829

src/RescriptCore.res

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module Intl = Core__Intl
4747
@val external document: Dom.document = "document"
4848
@val external globalThis: {..} = "globalThis"
4949

50-
external null: Core__Null.t<'a> = "#null"
50+
external null: Core__Nullable.t<'a> = "#null"
5151
external undefined: Core__Nullable.t<'a> = "#undefined"
5252
external typeof: 'a => Core__Type.t = "#typeof"
5353

0 commit comments

Comments
 (0)