From 3ffe05a92aae95de297e1e6e715282658cfc950f Mon Sep 17 00:00:00 2001 From: dcharbonnier Date: Tue, 21 Jul 2015 14:36:16 +0300 Subject: [PATCH] isNaN accept all types of arguments --- src/lib/core.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/core.d.ts b/src/lib/core.d.ts index 442921ca5a41f..5001a50eb1f1c 100644 --- a/src/lib/core.d.ts +++ b/src/lib/core.d.ts @@ -30,9 +30,9 @@ declare function parseFloat(string: string): number; /** * Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number). - * @param number A numeric value. + * @param number A numeric or a string value. */ -declare function isNaN(number: number): boolean; +declare function isNaN(number: any): boolean; /** * Determines whether a supplied number is finite.