mxsdev / ts-type-explorer

VSCode Extension & utilities for exploring TypeScript type information
https://marketplace.visualstudio.com/items?itemName=mxsdev.typescript-explorer&ssr=false
159 stars 4 forks source link

Show type arguments in description #19

Closed mxsdev closed 1 year ago

mxsdev commented 1 year ago

Would be nice to show type arguments in descriptions. So, for example, the following:

image

Would display Promise<void> instead of Promise.

There should probably be a config option to toggle this feature, as well as a maximum length before going to ellipsis (e.g. Promise<...>.

From #18 (thanks to @Didas-git for the suggestion!)