Description
I'm moving @seanpoulter 's question into its own issue:
What's the long term plan for TSDoc? Will we be able to use it to annotate vanilla JavaScript like the current JSDoc support? In those cases the it's crucial to be able to declare an interface in the comments or document
@param
properties.
Some background: The TypeScript compiler allows plain *.js files to be compiled alongside with *.ts files, and it will parse certain JSDoc type annotations and incorporate them into the type system.
Some design questions:
-
Beyond the TSDoc design goal of maintaining the look+feel of JSDoc (and CommonMark), does JSDoc-in-JavaScript imply any special considerations for TSDoc syntax?
-
Would TSDoc and JSDoc-in-JavaScript really need to be parsed by the same documentation pipeline?
(Or are will the *.js files generally be legacy libraries or third-party dependencies?)