https://github.com/dubzzz/bigint-as-any-ts
Polyfill bigint as any that works with TypeScript <3.2
https://github.com/dubzzz/bigint-as-any-ts
bigint polyfill typescript
Last synced: 7 months ago
JSON representation
Polyfill bigint as any that works with TypeScript <3.2
- Host: GitHub
- URL: https://github.com/dubzzz/bigint-as-any-ts
- Owner: dubzzz
- License: mit
- Created: 2018-12-27T19:52:57.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-27T20:39:31.000Z (almost 7 years ago)
- Last Synced: 2025-02-28T00:41:28.441Z (8 months ago)
- Topics: bigint, polyfill, typescript
- Language: TypeScript
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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:
```typescript
import 'bigint-as-any-ts';
```