Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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';
```