question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find name 'bigint'

See original GitHub issue

When launching tsc with the latest version of fast-check I get:

node_modules/fast-check/lib/random/generator/Random.d.ts:42:34 - error TS2304: Cannot find name 'bigint'.

42     nextBigInt(min: bigint, max: bigint): bigint;

On old versions of TypeScript

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

21reactions
ashnurcommented, Dec 27, 2018

Drop TS?

16reactions
ashnurcommented, Dec 28, 2018

I personally do not gain anything from TypeScript, so for me the invention and spread of use of TypeScript is one of the worst things that happened lately. Doubled the complexity of all builds, everything moves slower, has more issues, there are more compiler to compile the same code to the same targets differently … not fun. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using BigInt in TypeScript - Stack Overflow
I believe I should be able to use BigInt now in TypeScript...but changing some code base to use it and I get "Cannot...
Read more >
TypeScript compiler cannot find name 'BigInt' #275 - GitHub
The BigInt type in the Stats.d.ts file causes TypeScript to throw a 2304 (cannot find name) error, so the compilation fails.
Read more >
Unable to run ionic old project: Cannot find name 'bigint'
I am trying to run my old project to modification, I have successfully run npm install but unable to serve the app. It's...
Read more >
Microsoft/TypeScript - Gitter
I believe I should be able to use BigInt now in TypeScript...but changing some code base to use and I get "Cannot find...
Read more >
Unable to use BigInt in typescript version 3.4.5. Error TS2304 ...
[Solved]-Unable to use BigInt in typescript version 3.4.5. Error TS2304: Cannot find name 'BigInt'-angular.js ... I am able to resolve the error by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found