jsbi icon indicating copy to clipboard operation
jsbi copied to clipboard

cannot be imported correctly with TypeScript Node 16 module resolution mode

Open Jack-Works opened this issue 2 years ago • 4 comments

TS requires JSBI.default.BigInt instead of JSBI.BigInt

Jack-Works avatar Nov 04 '22 11:11 Jack-Works

Is this similar to https://github.com/js-temporal/temporal-polyfill/issues/177 ?

Are the tsconfig settings mentioned on that issue the relevant ones here?

12wrigja avatar Nov 04 '22 18:11 12wrigja

maybe you need an export map and "type": "module" (maybe?) in package.json

Jack-Works avatar Nov 05 '22 01:11 Jack-Works

The issue is still there for 4.3.0

Dr-Nikson avatar May 17 '24 07:05 Dr-Nikson

@Dr-Nikson can you please share your tsconfig settings and the exact error message you see?

12wrigja avatar May 20 '24 14:05 12wrigja