Skip to content
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

Backwards red underline errors for TypeScript #108872

Closed
ryancwalsh opened this issue Oct 17, 2020 · 1 comment
Closed

Backwards red underline errors for TypeScript #108872

ryancwalsh opened this issue Oct 17, 2020 · 1 comment
Assignees
Labels
typescript Typescript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@ryancwalsh
Copy link

Issue Type: Bug

It seems that people trying to write TypeScript in VSC face this dilemma of choosing between:

  1. VSC shows an error (red underline), but the code works, or:
  2. If we follow the VSC error tooltip's suggestion, it will "resolve" the error in the editor, but then the code won't run.

See also: microsoft/TypeScript#11235 (comment)

image

VS Code version: Code 1.50.0 (93c2f0f, 2020-10-07T06:10:52.432Z)
OS version: Windows_NT x64 10.0.18362

Extensions (21)
Extension Author (truncated) Version
vscode-sqlite ale 0.9.0
vscode-intelephense-client bme 1.5.4
better-toml bun 0.3.2
vscode-eslint dba 2.1.10
gitlens eam 10.2.2
EditorConfig Edi 0.15.1
prettier-vscode esb 5.7.1
php-debug fel 1.13.0
php-intellisense fel 2.3.14
php-pack fel 1.0.2
vscode-language-babel mgm 0.0.30
dotenv mik 1.0.1
python ms- 2020.9.114305
remote-wsl ms- 0.50.1
sqltools mtx 0.23.0
react-proptypes-intellisense OfH 1.0.3
vscode-versionlens pfl 1.0.8
prisma Pri 2.9.0
phpdoc-comment-vscode-plugin rex 1.3.0
vscode-status-bar-format-toggle tom 2.0.0
vscode-import-cost wix 2.12.0
@mjbvz
Copy link
Collaborator

mjbvz commented Oct 18, 2020

As you noted, this is a TypeScript issue. Please follow up on the TypeScript repo

@mjbvz mjbvz closed this as completed Oct 18, 2020
@mjbvz mjbvz added upstream Issue identified as 'upstream' component related (exists outside of VS Code) typescript Typescript support issues labels Oct 18, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
typescript Typescript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants