You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sindresorhus I believe this was an unintended breaking change.
after upgrading to type-fest@1.1.0, I started getting the following type errors:
$ tsc --build
node_modules/type-fest/source/typed-array.d.ts:14:4 - error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the `lib` compiler option to 'es2020' or later.
14 | BigInt64Array
~~~~~~~~~~~~~
node_modules/type-fest/source/typed-array.d.ts:15:4 - error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the `lib` compiler option to 'es2020' or later.
15 | BigUint64Array;
~~~~~~~~~~~~~~
Found 2 errors.
I can see that typed-array.d.ts is nothing new, so my guess is that the index somehow started referencing it, where it didn't before.
A workaround is to change my lib to "es2020", or more specifically add "es2020.bigint".
The text was updated successfully, but these errors were encountered:
@sindresorhus I believe this was an unintended breaking change.
after upgrading to type-fest@1.1.0, I started getting the following type errors:
I can see that typed-array.d.ts is nothing new, so my guess is that the index somehow started referencing it, where it didn't before.
A workaround is to change my lib to
"es2020"
, or more specifically add"es2020.bigint"
.The text was updated successfully, but these errors were encountered: