Skip to content

Code syntax hint question #39939

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

Closed
LittleStoney opened this issue Aug 6, 2020 · 3 comments
Closed

Code syntax hint question #39939

LittleStoney opened this issue Aug 6, 2020 · 3 comments
Labels
Duplicate An existing issue was already created

Comments

@LittleStoney
Copy link

  • VSCode Version:1.47.3
  • OS Version: Windows_NT x64 10.0.19041

In a JS file,when I create an object,such as
const status = { PENDING: Symbol('pending'), FUFILLED: Symbol('fulfilled'), REJECTED: Symbol('rejected'), }
But in my editor, when using status later, put the mouse on it,the code hint shows information from the lib.dom.d.ts file , it shows var sattus:string from declare var status: string;
How to avoid this??

@LittleStoney
Copy link
Author

F}07R$GR63}QA$Q@3(I1J

@mjbvz mjbvz transferred this issue from microsoft/vscode Aug 6, 2020
@mjbvz
Copy link
Contributor

mjbvz commented Aug 6, 2020

Same root cause as #39534

@mjbvz mjbvz removed their assignment Aug 6, 2020
@RyanCavanaugh RyanCavanaugh added the Duplicate An existing issue was already created label Sep 2, 2020
@typescript-bot
Copy link
Collaborator

This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

4 participants