File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ Joey Reed <joeyrreed@gmail.com>
16
16
Jordan-Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
17
17
Joris Labie <joris.labie1@gmail.com>
18
18
Justin Dennison <justin1dennison@gmail.com>
19
+ KATTA NAGA NITHIN <88046362+nithinkatta@users.noreply.github.com>
19
20
Marcus <mfantham@users.noreply.github.com>
20
21
Matt Cochrane <matthew.cochrane.eng@gmail.com>
21
22
Milan Raj <rajsite@users.noreply.github.com>
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ interface IsInfinite {
44
44
* var bool = isInfinite( null );
45
45
* // returns false
46
46
*/
47
- ( value : any ) : boolean ;
47
+ ( value : any ) : value is number | Number ;
48
48
49
49
/**
50
50
* Tests if a value is a number primitive having an infinite value.
@@ -60,7 +60,7 @@ interface IsInfinite {
60
60
* var bool = isInfinite.isPrimitive( new Number( -1.0/0.0 ) );
61
61
* // returns false
62
62
*/
63
- isPrimitive ( value : any ) : boolean ;
63
+ isPrimitive ( value : any ) : value is number ;
64
64
65
65
/**
66
66
* Tests if a value is a number object having an infinite value.
@@ -76,7 +76,7 @@ interface IsInfinite {
76
76
* var bool = isInfinite.isObject( new Number( 1.0/0.0 ) );
77
77
* // returns true
78
78
*/
79
- isObject ( value : any ) : boolean ;
79
+ isObject ( value : any ) : value is Number ;
80
80
}
81
81
82
82
/**
You can’t perform that action at this time.
0 commit comments