Does this issue occur when all extensions are disabled?: Yes/No
When I import a class/interface/type when using the JS/TS intellisense, the logo will not appear as expected. It's not a fatal error, but it's annoying to me.
- VS Code Version: 1.90.1
- OS Version: Windows 10
- Extensions: @builtin JS/TS support
- Init a JS/TS project or use repo: https://github.com/LdoDoeg222/VSCode-ts-import-issue
- Use repo
- Code yourself
- Type to use a class/interface/type and you can see: the intellisense will support a c/i/t with correct logo.
- Import the c/i/t then use it, and you can see: the logo of c/i/t will change to a var logo, which infers to (alias) c/i/t Xxxx
- Use snippet
- Use snippet "test", "test2", "test3" to reproduce the bug.
- Code yourself
- Make an enviroment of the project by yourself, then code yourself.v (install some package, or write some class/interface/type code in a file)
- Type to use a class/interface/type and you can see: the intellisense will support a c/i/t with correct logo.
- Import the c/i/t then use it, and you can see: the logo of c/i/t will change to a var logo, which infers to (alias) c/i/t Xxxx
- Use repo
I try export {<interface>}, export default <interface>, export interface <interface>, export default interface <interface>, but all of them are wrong.
Except declare interface <interface> first, but it will cause ts2404 error if I don't use default export.
It seems that the problem is caused by the import alias.
import {<interface> [as <alias>]} from '<path>'export { <interface> [as <alias>] }
Both of the sentences use aliases (even if they may not be used), the logo will change to a var logo as soon.
Expect: When i use a class/interface/type import, even if i use alias import (like import type { AxiosResponse as AResp } from 'axios'), I can see the correct logo.
This is the expected result, the logo is correct.

This is the actual result, the logo is wrong.
-interface-with-import.png)
This is the expected result, the logo is correct.

-local-interface-with-import.png)

