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

Typescript organize imports unwanted removal #47769

Closed
PsychicCat opened this issue Apr 12, 2018 · 1 comment
Closed

Typescript organize imports unwanted removal #47769

PsychicCat opened this issue Apr 12, 2018 · 1 comment
Assignees
Labels
javascript JavaScript support issues

Comments

@PsychicCat
Copy link

If using the as syntax in a destructured import, VSCode removes the import.

  • VSCode Version: 1.22.1
  • OS Version: OSX 10.13.4

Steps to Reproduce:

  1. import {State as AppState} from '../some/path'
  2. Run Organize Imports
  3. this import is removed, when it shouldn't be

Does this issue occur when all extensions are disabled?: Yes

@vscodebot
Copy link

vscodebot bot commented Apr 12, 2018

@vscodebot vscodebot bot added the javascript JavaScript support issues label Apr 12, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators May 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
javascript JavaScript support issues
Projects
None yet
Development

No branches or pull requests

2 participants