Skip to content

Commit c6d3baa

Browse files
committed
Auto-generated commit
1 parent 934e6ed commit c6d3baa

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Joey Reed <joeyrreed@gmail.com>
1616
Jordan-Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
1717
Joris Labie <joris.labie1@gmail.com>
1818
Justin Dennison <justin1dennison@gmail.com>
19+
KATTA NAGA NITHIN <88046362+nithinkatta@users.noreply.github.com>
1920
Marcus <mfantham@users.noreply.github.com>
2021
Matt Cochrane <matthew.cochrane.eng@gmail.com>
2122
Milan Raj <rajsite@users.noreply.github.com>

docs/types/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ interface IsNaNArray {
3636
* var bool = isNaNArray( [NaN,2] );
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 NaN values.
@@ -52,7 +52,7 @@ interface IsNaNArray {
5252
* var bool = isNaNArray.primitives( [NaN,NaN,NaN] );
5353
* // returns true
5454
*/
55-
primitives( value: any ): boolean;
55+
primitives( value: any ): value is ArrayLike<number>;
5656

5757
/**
5858
* Tests if a value is an array-like object containing only number objects having NaN values.
@@ -71,7 +71,7 @@ interface IsNaNArray {
7171
* @example
7272
* var bool = isNaNArray.objects( [NaN,NaN,NaN] );
7373
*/
74-
objects( value: any ): boolean;
74+
objects( value: any ): value is ArrayLike<Number>;
7575
}
7676

7777
/**

0 commit comments

Comments
 (0)