Skip to content

dethcrypto/bn.js-typings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bn.js-typings

BN.js typings that allow natural imports.

Install

yarn install --dev bn.js-typings

Usage

First, you need to make sure that our package is included in your tsconfig.json file.

"include": [
  "./lib/**/*.ts", 
  "./node_modules/bn.js-typings/index.d.ts"
]

Then use it simply like this:

import { BN } from "bn.js"

About

BN.js typings that allow natural imports

Resources

Stars

Watchers

Forks

Packages

No packages published