We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TypeScript Version: 1.8.0
Code
There are 4 Date constructors in ECMAScript 5.1
But in ECMAScript 2015 there is another one:
But this constructor isn't added in lib.es2015.core.d.ts.
Expected behavior:
It should be valid code:
var a = new Date(); var b = new Date(a);
Actual behavior:
There is an error, that a isn't a string or number.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
TypeScript Version: 1.8.0
Code
There are 4 Date constructors in ECMAScript 5.1
But in ECMAScript 2015 there is another one:
Link to ECMAScript2015
But this constructor isn't added in lib.es2015.core.d.ts.
Expected behavior:
It should be valid code:
Actual behavior:
There is an error, that a isn't a string or number.
The text was updated successfully, but these errors were encountered: