ts-type-expand
ts-type-expand copied to clipboard
Enhancement : Show type name on node root when possible
These screenshots will immedaitely clarify the request.
Note mouseover on
config
reveals the type to be AppConfigJson.
Yes, the treeview shows the typename on mouseover but if there is a type, can we have an option to see it in the tree without mouseover?
As another example, note this code and then see how the tree shows it:
type ReactStyles = Record<StyleKeys, CSS.Properties>
type MuiStyles = Record<StyleKeys, CSS.Properties>
...
styles: {
current: () => ReactStyles
react: ReactStyles
mui: MuiStyles
}
There is plenty of room there to show "Properties (ReactStyles)".
Thanks!