-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Global variable name
is marked deprecated
#114725
Comments
This is "intended" TS behavior for global |
Yep, duplicate of microsoft/TypeScript#18433 |
Maybe I misunderstand the scope here? The issue says they're declaring a locally-scoped |
If you are talking about JS runtime - yes. For global scope it becomes tricky especially for I don't think that this case can be fixed in VS Code so it's better to check existing issues in TS repo or rise new one there. |
Hi! I know how to solve this error ... If I don't, I don't know what to do. In my case the problem happened because the "Discord Rich Presence" extension is down ... Try disabling it. |
Steps to Reproduce:
name
, for example:let name = 'foo';
name
variable, for example:console.log(name);
Does this issue occur when all extensions are disabled?: No
I suspect this is an eslint bug, or bug in the vscode-eslint extension, not distinguishing between a user-defined
name
variable and the global. But I'm not sure where to file it other than here.The text was updated successfully, but these errors were encountered: