Skip to content

Commit 618ae32

Browse files
committed
Auto-generated commit
1 parent 1ab5de4 commit 618ae32

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
@@ -40,7 +40,7 @@ interface IsSymbolArray {
4040
* var bool = isSymbolArray( [ Symbol( 'abc' ), 'def' ] );
4141
* // returns false
4242
*/
43-
( value: any ): boolean;
43+
( value: any ): value is ArrayLike<symbol | Symbol>;
4444

4545
/**
4646
* Tests if a value is an array-like object containing only `symbol` primitives.
@@ -60,7 +60,7 @@ interface IsSymbolArray {
6060
* var bool = isSymbolArray.primitives( [ Symbol( 'abc' ), Object( Symbol( 'def' ) ) ] );
6161
* // returns false
6262
*/
63-
primitives( value: any ): boolean;
63+
primitives( value: any ): value is ArrayLike<symbol>;
6464

6565
/**
6666
* Tests if a value is an array-like object containing only `Symbol` objects.
@@ -81,7 +81,7 @@ interface IsSymbolArray {
8181
* var bool = isSymbolArray.objects( [ Symbol( 'abc' ), Symbol( 'def' ) ] );
8282
* // returns false
8383
*/
84-
objects( value: any ): boolean;
84+
objects( value: any ): value is ArrayLike<Symbol>;
8585
}
8686

8787
/**

0 commit comments

Comments
 (0)