We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33da2f7 commit 7209f65Copy full SHA for 7209f65
src/Core__Symbol.res
@@ -1,4 +1,4 @@
1
-type t
+type t = Js.Types.symbol
2
3
@val external make: string => t = "Symbol"
4
@val external getFor: string => t = "Symbol.for"
src/Core__Type.mjs
@@ -4,6 +4,11 @@
function classify(value) {
5
var match = Object.prototype.toString.call(value);
6
switch (match) {
7
+ case "[object BigInt]" :
8
+ return {
9
+ TAG: /* BigInt */6,
10
+ _0: value
11
+ };
12
case "[object Boolean]" :
13
return {
14
TAG: /* Bool */0,
0 commit comments