Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find name 'bigint', 'BigInt64Array, 'BigUint64Array #16

Open
rtyx opened this issue Oct 8, 2019 · 2 comments
Open

Cannot find name 'bigint', 'BigInt64Array, 'BigUint64Array #16

rtyx opened this issue Oct 8, 2019 · 2 comments

Comments

@rtyx
Copy link

rtyx commented Oct 8, 2019

Hi! I'm trying to implement this in an Angular 7 project using "typescript": "3.1.1", but I get the following error messages. Any idea how could I solve it? Thanks.

ERROR in node_modules/stacktrace-parser/node_modules/type-fest/source/basic.d.ts(14,4): error TS2304: Cannot find name 'bigint'.
node_modules/stacktrace-parser/node_modules/type-fest/source/basic.d.ts(35,4): error TS2304: Cannot find name 'BigInt64Array'.
node_modules/stacktrace-parser/node_modules/type-fest/source/basic.d.ts(36,4): error TS2304: Cannot find name 'BigUint64Array'.
@Calamari
Copy link
Contributor

Calamari commented Oct 11, 2019

Spontanously: no clue. Never seen that kind of error before.

But that sounds like a problem within the type-fest dependency. Have you tried updating it, or a different typescript versoin?

@ebewley
Copy link

ebewley commented May 1, 2020

They say that BigInt is available in TypeScript 3.2, but even then, there are settings you need to change to make it work. See this issue for more info https://stackoverflow.com/questions/59456390/using-bigint-in-typescript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants