-
Notifications
You must be signed in to change notification settings - Fork 13k
Open
Labels
Experience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
Hi there!
I had a issue trip around Github and finally ended up here :)
Last issue was: microsoft/vscode#95408
I am using String Literal types to define classnames and would love to populate with some more information.
So basically:
type TClassnames =
/** Some docs about red-500 */
| 'bg-color-red-500'
/** Some docs about red-600 */
| 'bg-color-red-600'
I would expect it to populate the docs on the right side of the intellisense:
This is how we can document with properties:
Which would be amazing to have on string literals.
I thought it was a TSDoc issue, but given this context: microsoft/tsdoc#164, it seems to be VSCode not parsing it... though then it seems to actually be Typescript related?
CodingDive, arnog, Raiondesu, fanzkday, Haprog and 98 moreTheMrZZ, SamB, p0wl, ccpu, buzinas and 18 moreccpu, kitschpatrol and mryechkin
Metadata
Metadata
Assignees
Labels
Experience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsSuggestionAn idea for TypeScriptAn idea for TypeScript