-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
Type behavior of __proto__ isn't correct. #42358
Comments
Duplicate of #38385. Literally the first issue after yours when searching for |
Oh I'm sorry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
The
__proto__
in the object literal has special meanings in JavaScript and TypeScript doesn't recognize that.🔎 Search Terms
__proto__
🕗 Version & Regression Information
💻 Code
🙁 Actual behavior
Type of
y
is `{ proto: X }🙂 Expected behavior
Type of
y
isX
The text was updated successfully, but these errors were encountered: