Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-27T20:39:31.000Z (almost 6 years ago)
- Last Synced: 2024-10-07T14:38:01.130Z (about 1 month 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';
```