-
Notifications
You must be signed in to change notification settings - Fork 12.8k
isNaN expecting a number argument #21065
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Duplicate of #19153 among many, many others. Did you read the contributing guidelines as requested before you opened this issue? |
Searched for: "is:issue is:open isNaN" but didn't see any matches, sorry for the duplicate, next time I'll search without filters 👍 |
Yeah, I think "make sure to search closed issues also" should be made explicit in those instructions. |
Didn't realize we were linking people to the terrible Issues Tab search. Sorry about that |
the instructions to search before posting need to be in the template of the issue |
TypeScript Version: 2.6.2
Code from lib.es6.d.ts
Expected behavior:
The function should get any type and not only numbers.
Actual behavior:
I get an error when passing a string.
The text was updated successfully, but these errors were encountered: