diff --git a/src/externals.ts b/src/externals.ts index 01aea919..22eb12af 100644 --- a/src/externals.ts +++ b/src/externals.ts @@ -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)