Skip to content

Commit 85f7350

Browse files
committed
Auto-generated commit
1 parent cc7e3cb commit 85f7350

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
@@ -44,7 +44,7 @@ interface IsInfinite {
4444
* var bool = isInfinite( null );
4545
* // returns false
4646
*/
47-
( value: any ): boolean;
47+
( value: any ): value is number | Number;
4848

4949
/**
5050
* Tests if a value is a number primitive having an infinite value.
@@ -60,7 +60,7 @@ interface IsInfinite {
6060
* var bool = isInfinite.isPrimitive( new Number( -1.0/0.0 ) );
6161
* // returns false
6262
*/
63-
isPrimitive( value: any ): boolean;
63+
isPrimitive( value: any ): value is number;
6464

6565
/**
6666
* Tests if a value is a number object having an infinite value.
@@ -76,7 +76,7 @@ interface IsInfinite {
7676
* var bool = isInfinite.isObject( new Number( 1.0/0.0 ) );
7777
* // returns true
7878
*/
79-
isObject( value: any ): boolean;
79+
isObject( value: any ): value is Number;
8080
}
8181

8282
/**

0 commit comments

Comments
 (0)