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 @@ -36,7 +36,7 @@ interface IsIntegerArray {
36
36
* var bool = isIntegerArray( [ -3.0, '3.0' ] );
37
37
* // returns false
38
38
*/
39
- ( value : any ) : boolean ;
39
+ ( value : any ) : value is ArrayLike < number | Number > ;
40
40
41
41
/**
42
42
* Tests if a value is an array-like object containing only primitive integer values.
@@ -56,7 +56,7 @@ interface IsIntegerArray {
56
56
* var bool = isIntegerArray.primitives( [ -3.0, new Number(-1.0) ] );
57
57
* // returns false
58
58
*/
59
- primitives ( value : any ) : boolean ;
59
+ primitives ( value : any ) : value is ArrayLike < number > ;
60
60
61
61
/**
62
62
* Tests if a value is an array-like object containing only number objects having integer values.
@@ -76,7 +76,7 @@ interface IsIntegerArray {
76
76
* var bool = isIntegerArray.objects( [ 3.0, new Number(-1.0) ] );
77
77
* // returns false
78
78
*/
79
- objects ( value : any ) : boolean ;
79
+ objects ( value : any ) : value is ArrayLike < Number > ;
80
80
}
81
81
82
82
/**
You can’t perform that action at this time.
0 commit comments