mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Change isBN type return to type guard
This commit is contained in:
parent
cf7782863b
commit
38df25eaa6
2
types/bn.js/index.d.ts
vendored
2
types/bn.js/index.d.ts
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user