We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86e1b30 commit 3f3efefCopy full SHA for 3f3efef
test/utils/serialize-javascript.ts
@@ -58,9 +58,9 @@ const TypedArrays = [
58
Uint32Array,
59
Float32Array,
60
Float64Array,
61
- BigInt64Array,
62
- BigUint64Array,
63
-];
+ typeof BigInt64Array !== 'undefined' ? BigInt64Array : undefined!,
+ typeof BigUint64Array !== 'undefined' ? BigUint64Array : undefined!,
+].filter(Boolean);
64
65
/**
66
* Serialize JavaScript object to string, support functions. Should including all fields of both
0 commit comments