Skip to content

generate import statements and replace import types when implementing interface #28165 #33126

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
wants to merge 1 commit into from

Conversation

keotl
Copy link

@keotl keotl commented Aug 28, 2019

Fixes #28165
Fixes an issue where adding implemented members yields locally-imported types.

giphy

@msftclas
Copy link

msftclas commented Aug 28, 2019

CLA assistant check
All CLA requirements met.

@keotl keotl changed the title use private aliases when implementing interface #28165 generate import statements and replace import types when implementing interface #28165 Aug 30, 2019
@andrewbranch
Copy link
Member

Cross-post-ish from #28165 (comment):

I fixed this bug with #36615, which is already shipped with TypeScript 3.8. #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 #28165 or your work on this PR here. Sadly this happens from time to time in a repo with thousands of issues, but my apologies for the mixup nonetheless.

Thanks for the contribution, and I hope this doesn’t permanently sour your experience contributing to TypeScript—we’ll try to do a better job triaging if you decide to come back with another PR in the future. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Backlog Bug PRs that fix a backlog bug
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

When implements interface in typescript adds import before element
4 participants