mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-18 16:00:21 +00:00
Change isBN type return to type guard
This commit is contained in:
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user