Merge pull request #30043 from micahriggan/patch-3

BN.js: Constructor accepts 'hex' as a base
This commit is contained in:
Ron Buckton
2018-10-26 18:38:10 -07:00
committed by GitHub
+1 -1
View File
@@ -45,7 +45,7 @@ interface ReductionContext {
declare class BN {
constructor(
number: number | string | number[] | Buffer | BN,
base?: number,
base?: number | 'hex',
endian?: Endianness
);
constructor(