Auto-Import
Auto-Import copied to clipboard
Imports existing type from current file
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:
pressing Enter:
This not for only this names, it happens with other "normal" names for interfaces. Also this bug not always can be caught.