summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/kv/01_db.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/kv/01_db.ts b/ext/kv/01_db.ts
index 16099c225..1a7b27dac 100644
--- a/ext/kv/01_db.ts
+++ b/ext/kv/01_db.ts
@@ -278,8 +278,8 @@ class AtomicOperation {
}
}
-const MIN_U64 = 0n;
-const MAX_U64 = 0xffffffffffffffffn;
+const MIN_U64 = BigInt("0");
+const MAX_U64 = BigInt("0xffffffffffffffff");
class KvU64 {
readonly value: bigint;