qauMaWeb/node_modules/memfs/lib/getBigInt.js

6 lines
191 B
JavaScript
Raw Permalink Normal View History

2024-10-13 18:02:27 +08:00
if (typeof BigInt === 'function') exports.default = BigInt;
else
exports.default = function BigIntNotSupported() {
throw new Error('BigInt is not supported in this environment.');
};