-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
AFter updating make sytnax
produce errors like:
node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/ox/core/Solidity.ts:92:27 - error TS2737: BigInt literals are not available when targeting
lower than ES2020.
92 export const maxUint120 = 2n ** 120n - 1n
~~
node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/ox/core/Solidity.ts:92:27 - error TS2791: Exponentiation cannot be performed on 'bigint' va
lues unless the 'target' option is set to 'es2016' or later.
92 export const maxUint120 = 2n ** 120n - 1n
~~~~~~~~~~
node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/ox/core/Solidity.ts:92:33 - error TS2737: BigInt literals are not available when targeting
lower than ES2020.
92 export const maxUint120 = 2n ** 120n - 1n
~~~~
node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/ox/core/Solidity.ts:92:40 - error TS2737: BigInt literals are not available when targeting
lower than ES2020.
Not solved just chaning target to es2020
Metadata
Metadata
Assignees
Labels
No labels