bigint-as-any-ts
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i bigint-as-any-ts

    Weekly Downloads

    15

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    2.34 kB

    Total Files

    5

    Last publish

    Collaborators

    • ndubien