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.