File tree 3 files changed +9
-11
lines changed
3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 1
1
/*** JavaScript BigInt API */
2
2
3
- type t = bigint
4
-
5
- external \"~-" : t => t = "%negbigint"
6
- external \"~+" : t => t = "%identity"
7
- external \"+" : (t , t ) => t = "%addbigint"
8
- external \"-" : (t , t ) => t = "%subbigint"
9
- external \"*" : (t , t ) => t = "%mulbigint"
10
- external \"/" : (t , t ) => t = "%divbigint"
11
- external mod : (t , t ) => t = "%modbigint"
3
+ external \"~-" : bigint => bigint = "%negbigint"
4
+ external \"~+" : bigint => bigint = "%identity"
5
+ external \"+" : (bigint , bigint ) => bigint = "%addbigint"
6
+ external \"-" : (bigint , bigint ) => bigint = "%subbigint"
7
+ external \"*" : (bigint , bigint ) => bigint = "%mulbigint"
8
+ external \"/" : (bigint , bigint ) => bigint = "%divbigint"
9
+ external mod : (bigint , bigint ) => bigint = "%modbigint"
Original file line number Diff line number Diff line change 26
26
type symbol
27
27
28
28
/** Js bigint type only available in ES2020 */
29
- type bigint_val = Js_bigint . t
29
+ type bigint_val = bigint
30
30
31
31
type obj_val
32
32
/** This type has only one value `undefined` */
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ o others/js_string.cmi others/js_string.cmj : cc others/js_string.res | others/b
57
57
o others/js_string2.cmi others/js_string2.cmj : cc others/js_string2.res | others/belt_internals.cmi others/js.cmi others/js_array2.cmj others/js_re.cmj $bsc
58
58
o others/js_typed_array.cmi others/js_typed_array.cmj : cc others/js_typed_array.res | others/belt_internals.cmi others/js.cmi others/js.cmj others/js_typed_array2.cmj $bsc
59
59
o others/js_typed_array2.cmi others/js_typed_array2.cmj : cc others/js_typed_array2.res | others/belt_internals.cmi others/js.cmi others/js.cmj $bsc
60
- o others/js_types.cmj : cc_cmi others/js_types.res | others/belt_internals.cmi others/js.cmi others/js.cmj others/js_bigint.cmj others/ js_null.cmj others/js_types.cmi $bsc
60
+ o others/js_types.cmj : cc_cmi others/js_types.res | others/belt_internals.cmi others/js.cmi others/js.cmj others/js_null.cmj others/js_types.cmi $bsc
61
61
o others/js_types.cmi : cc others/js_types.resi | others/belt_internals.cmi others/js.cmi $bsc
62
62
o others/js_undefined.cmj : cc_cmi others/js_undefined.res | others/belt_internals.cmi others/js.cmi others/js.cmj others/js_exn.cmj others/js_undefined.cmi $bsc
63
63
o others/js_undefined.cmi : cc others/js_undefined.resi | others/belt_internals.cmi others/js.cmi others/js.cmj $bsc
You can’t perform that action at this time.
0 commit comments