🟦 TypeScript Union Docs VSCode ExtensionA VSCode TypeScript extension that displays JSDoc comments from union type members directly in your editor's quick info (hover) tooltips.
💡 The ProblemBy default, when you use a value from a union type, TypeScript's quick info just shows the literal value or the base union type. Documentation associated with that specific member of the union is ignored. ✨ The SolutionIt wraps the TS compiler plugin ts-union-docs-plugin and acivates it for the VSCode internal TypeScript compiler. The real magic happens here: https://github.com/Serveny/ts-union-docs-plugin Extension SettingsNone |