From 1c6ca59ba31082d3939da7e2e99c81a7a245a7e1 Mon Sep 17 00:00:00 2001 From: Danny Siu Date: Sun, 21 Apr 2024 13:18:43 +0800 Subject: [PATCH] Use native `bigint` in ReScript-v11.1 --- package.json | 4 ++-- src/Extras__Unknown.res | 2 +- src/Extras__Unknown.resi | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 03b546a..4437a6e 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ "author": "Justin Magaram", "license": "ISC", "dependencies": { - "@rescript/core": "^1.1.0", - "rescript": "^11.0.1", + "@rescript/core": "^1.3.0", + "rescript": "^11.1.0", "rescript-schema": "^6.4.0" }, "files": [ diff --git a/src/Extras__Unknown.res b/src/Extras__Unknown.res index e143ec4..5bb9dbf 100644 --- a/src/Extras__Unknown.res +++ b/src/Extras__Unknown.res @@ -17,7 +17,7 @@ external typeof: 'a => typeof = "#typeof" type object type function -type bigInt = BigInt.t +type bigInt = bigint type symbol = Symbol.t // typeof null == "object". Gotta love that! Do better here. diff --git a/src/Extras__Unknown.resi b/src/Extras__Unknown.resi index d8fd6aa..bdf80ae 100644 --- a/src/Extras__Unknown.resi +++ b/src/Extras__Unknown.resi @@ -41,7 +41,7 @@ external typeof: 'a => typeof = "#typeof" type object type function -type bigInt = BigInt.t +type bigInt = bigint type symbol = Symbol.t /**