Skip to content

Commit

Permalink
change isIP* input argument to string
Browse files Browse the repository at this point in the history
  • Loading branch information
rsolomo committed Dec 26, 2014
1 parent a1af896 commit c4f66a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,9 @@ declare module "https" {
}

declare module "net" {
declare function isIP(input: any): number;
declare function isIPv4(input: any): boolean;
declare function isIPv6(input: any): boolean;
declare function isIP(input: string): number;
declare function isIPv4(input: string): boolean;
declare function isIPv6(input: string): boolean;
}

declare module "os" {
Expand Down

0 comments on commit c4f66a0

Please sign in to comment.