-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Import aliases have poor quick-info descriptions #5515
Comments
what would you want see more here? |
except that an alias has a different name. so it is confusing to hover over |
What about something like
|
but there is no |
any concrete proposals here? |
In file /**
* The type repencent a person
*/
export interface Person {
name: string,
age: number
} In file import { Person } from './types';
var techrid: Person; // hover point when I hover on the hover point (the
If I specific an alias like import { Person as MyPerson } from './types'; I would expect to see below.
In simple, just grap the quick info from the origin export point appending to the import quick info. |
We would be open to a PR here. A possible solution is for Aliases to augment their quick info with that of their target. |
@mhegazy nice! |
thanks @jwbay ! |
The text was updated successfully, but these errors were encountered: