Change isBN type return to type guard

This commit is contained in:
HenryNguyen5 2018-06-25 13:29:59 -04:00
parent cf7782863b
commit 38df25eaa6

View File

@ -62,7 +62,7 @@ declare class BN {
/**
* @description returns true if the supplied object is a BN.js instance
*/
static isBN(b: any): boolean;
static isBN(b: any): b is BN;
/**
* @description Convert number to red