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

Imports existing type from current file #122

Open
psnet opened this issue Jan 9, 2022 · 0 comments
Open

Imports existing type from current file #122

psnet opened this issue Jan 9, 2022 · 0 comments

Comments

@psnet
Copy link

psnet commented Jan 9, 2022

VS Code Version: 1.63.2
Auto Import Version: v1.5.4

Description

  • Create new types.ts
  • Add code:
export interface AAAAA {

}
  • Next type:
export interface B {

}
  • inside B start typing:
export interface B {
  aaaaa: AAA
}

and after that you will be suggested for auto import interface AAAAA from this file:

errr1

pressing Enter:

errr2

This not for only this names, it happens with other "normal" names for interfaces. Also this bug not always can be caught.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant