Skip to content
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

lib.es2015.core.d.ts: Some parameters of functions of Number is not completely right #37190

Closed
Ezio1212 opened this issue Mar 3, 2020 · 2 comments

Comments

@Ezio1212
Copy link

Ezio1212 commented Mar 3, 2020

For example, We can use the following in es2015:

Number.isInteger(undefined); // false

but in lib.es2015.core.d.ts:
interface NumberConstructor {
// some defination codes....
isInteger(number: number): boolean;
// some other def codes...
}

thx

@nmain
Copy link

nmain commented Mar 3, 2020

Duplicate of #34931

My search term was "isinteger"

@Ezio1212
Copy link
Author

Ezio1212 commented Mar 3, 2020

thanks, i will colse it.

@Ezio1212 Ezio1212 closed this as completed Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants