Skip to content

Commit 6f10b74

Browse files
tom5760dcodeIO
authored andcommitted
Make isLong a TypeScript type guard (#63)
1 parent 95ac93e commit 6f10b74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ declare class Long {
9999
/**
100100
* Tests if the specified object is a Long.
101101
*/
102-
static isLong(obj: any): boolean;
102+
static isLong(obj: any): obj is Long;
103103

104104
/**
105105
* Converts the specified value to a Long.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy