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>
1616Jordan-Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
1717Joris Labie <joris.labie1@gmail.com>
1818Justin Dennison <justin1dennison@gmail.com>
19+ KATTA NAGA NITHIN <88046362+nithinkatta@users.noreply.github.com>
1920Marcus <mfantham@users.noreply.github.com>
2021Matt Cochrane <matthew.cochrane.eng@gmail.com>
2122Milan Raj <rajsite@users.noreply.github.com>
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ interface IsIntegerArray {
3636 * var bool = isIntegerArray( [ -3.0, '3.0' ] );
3737 * // returns false
3838 */
39- ( value : any ) : boolean ;
39+ ( value : any ) : value is ArrayLike < number | Number > ;
4040
4141 /**
4242 * Tests if a value is an array-like object containing only primitive integer values.
@@ -56,7 +56,7 @@ interface IsIntegerArray {
5656 * var bool = isIntegerArray.primitives( [ -3.0, new Number(-1.0) ] );
5757 * // returns false
5858 */
59- primitives ( value : any ) : boolean ;
59+ primitives ( value : any ) : value is ArrayLike < number > ;
6060
6161 /**
6262 * Tests if a value is an array-like object containing only number objects having integer values.
@@ -76,7 +76,7 @@ interface IsIntegerArray {
7676 * var bool = isIntegerArray.objects( [ 3.0, new Number(-1.0) ] );
7777 * // returns false
7878 */
79- objects ( value : any ) : boolean ;
79+ objects ( value : any ) : value is ArrayLike < Number > ;
8080}
8181
8282/**
You can’t perform that action at this time.
0 commit comments