Skip to content

Commit

Permalink
Make isLong a TypeScript type guard (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
tom5760 authored and dcodeIO committed Jul 18, 2018
1 parent 95ac93e commit 6f10b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ declare class Long {
/**
* Tests if the specified object is a Long.
*/
static isLong(obj: any): boolean;
static isLong(obj: any): obj is Long;

/**
* Converts the specified value to a Long.
Expand Down

0 comments on commit 6f10b74

Please sign in to comment.