Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Fix the types of the BN and RLP re-exports #270

Merged
merged 2 commits into from
Aug 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/externals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
* @packageDocumentation
*/

import * as BN from 'bn.js'
import * as rlp from 'rlp'
// TODO: This can be replaced with a normal ESM import once
// the new major version of the typescript config package
// is released and adopted here.
import BN = require('bn.js')
import rlp = require('rlp')

/**
* [`BN`](https://github.com/indutny/bn.js)
Expand Down