Skip to content

Commit 2722939

Browse files
committed
Add Stdlib.lazy_t for compatibility
1 parent 3ef4df1 commit 2722939

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

lib/es6/Stdlib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function assertEqual(a, b) {
1212
RE_EXN_ID: "Assert_failure",
1313
_1: [
1414
"Stdlib.res",
15-
122,
15+
124,
1616
4
1717
],
1818
Error: new Error()

lib/js/Stdlib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function assertEqual(a, b) {
1212
RE_EXN_ID: "Assert_failure",
1313
_1: [
1414
"Stdlib.res",
15-
122,
15+
124,
1616
4
1717
],
1818
Error: new Error()

runtime/Stdlib.res

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ type date = Date.t
5757
type null<+'a> = Primitive_js_extern.null<'a>
5858
type undefined<+'a> = Primitive_js_extern.undefined<'a>
5959
type nullable<+'a> = Primitive_js_extern.nullable<'a>
60+
@deprecated("Use Lazy.t instead")
61+
type lazy_t<+'a> = Lazy.t<'a>
6062

6163
@deprecated("Use rescript-webapi instead") @val external window: Dom.window = "window"
6264
@deprecated("Use rescript-webapi instead") @val external document: Dom.document = "document"

0 commit comments

Comments
 (0)