Skip to content

Commit

Permalink
Merge pull request #203 from rsolomo/node-net-isip
Browse files Browse the repository at this point in the history
add declarations for net.isIP*
  • Loading branch information
gabelevi committed Jan 5, 2015
2 parents 7b35c58 + c4f66a0 commit 240c996
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,9 @@ declare module "https" {
}

declare module "net" {
// TODO
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 240c996

Please sign in to comment.