From c4f66a020ab4b2f1763eb28225283b1c98d8ef64 Mon Sep 17 00:00:00 2001 From: Ray Solomon Date: Fri, 26 Dec 2014 13:48:13 -0800 Subject: [PATCH] change isIP* input argument to string --- lib/node.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node.js b/lib/node.js index 512d645f7af..398886b1799 100644 --- a/lib/node.js +++ b/lib/node.js @@ -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" {