bigint-as-any-ts
v1.0.2
Published
A polyfill of bigint that works with legacy typescript versions (before 3.2)
Downloads
44
Readme
Polyfill bigint as any that works with TypeScript <3.2
If your project depends on a dependency declaring bigint
in its typings you might have encountered the following error:
Cannot find name 'bigint'
In that case you should either bump to TypeScript >=3.2 or import this polyfill in your project.
In order to use it in your project, you have to import it in your code:
import 'bigint-as-any-ts';