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 0768fa8 commit 9e5f0ccCopy full SHA for 9e5f0cc
lib/common/utils/execute.ts
@@ -73,7 +73,7 @@ const pad = (
73
74
type Value = boolean | string | number
75
type ValueWithBigNumber = Value | bigint
76
-const isBigNumber = (data: unknown): data is bigint => data instanceof BigInt
+const isBigNumber = (data: unknown): data is bigint => typeof data === 'bigint'
77
const toString = (data: Readonly<bigint>): string => data.toString()
78
const toStringObj = (
79
data: Readonly<Record<string, ValueWithBigNumber>>
0 commit comments