File tree 3 files changed +4
-4
lines changed
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 IsStringArray {
36
36
* var bool = isStringArray( [ 'abc', 123 ] );
37
37
* // returns false
38
38
*/
39
- ( value : any ) : boolean ;
39
+ ( value : any ) : value is ArrayLike < string | String > ;
40
40
41
41
/**
42
42
* Tests if a value is an array containing only string primitives.
@@ -52,7 +52,7 @@ interface IsStringArray {
52
52
* var bool = isStringArray.primitives( [ 'abc', new String( 'def' ) ] );
53
53
* // returns false
54
54
*/
55
- primitives ( value : any ) : boolean ;
55
+ primitives ( value : any ) : value is ArrayLike < string > ;
56
56
57
57
/**
58
58
* Tests if a value is an array containing only `String` objects.
@@ -68,7 +68,7 @@ interface IsStringArray {
68
68
* var bool = isStringArray.objects( [ new String( 'abc' ), 'def' ] );
69
69
* // returns false
70
70
*/
71
- objects ( value : any ) : boolean ;
71
+ objects ( value : any ) : value is ArrayLike < String > ;
72
72
}
73
73
74
74
/**
You can’t perform that action at this time.
0 commit comments