-
Notifications
You must be signed in to change notification settings - Fork 12.8k
When implements interface in typescript adds import before element #28165
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
Comments
Please try upgrading your workspace to use |
From @inferius on October 12, 2018 7:28 Yes, i still see this error after upgrading. |
Thanks for testing. Can you please share your tsconfig and a basic description of your project structure |
From @DanTup on October 23, 2018 9:3 @mjbvz I see this too. I've pushed a branch with a repro here: https://github.com/Dart-Code/Dart-Code/tree/vscode-60606-repro Clone the (using |
Any update on this? just seems to have been kicked into the long grass. |
We'd probably take PRs to fix it ❤️ |
That code is technically equivalent to the version where an import statement is used, just not as pretty - hence why this hasn't been the highest priority for us, and why I said we'd take a PR to fix it~ ❤️ |
You'd want to query for the same type nodes that we do today (complete with import types), but then traverse the node tree looking for instances of |
So, what's the status here? |
any news? |
This was fixed by #36615 which is included in TypeScript 3.8. Unfortunately, #34995, the issue I was assigned, was never marked as a duplicate of this one, and so I was never aware of the existence of this issue or the great work by @keotl at #33126. Sadly this happens from time to time in a repo with thousands of issues, but my apologies for the mixup nonetheless, particularly to @keotl. |
From @inferius on October 11, 2018 8:6
Hi, implements interface in typescript auto adds import with absolute path before element of class.
Steps to Reproduce:

Does this issue occur when all extensions are disabled?: Yes
Copied from original issue: microsoft/vscode#60606
The text was updated successfully, but these errors were encountered: