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
typescript2.1.4
class MyError extends Error {} let e=new MyError(); console.log(e instanceof MyError);
target:es5
false
target:es6
true
The text was updated successfully, but these errors were encountered:
duplicate of #12790
Please see https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work
Sorry, something went wrong.
No branches or pull requests
typescript2.1.4
target:es5
target:es6
The text was updated successfully, but these errors were encountered: