I have a .d.ts file with interfaces that describe my library. It has JSDoc comments that will be displayed via intellisense in Visual Studio when people reference .d.ts in their code:
interface JSNLogAppender { setOptions(options: JSNLogAppenderOptions): void; log(logItem: JSNLogItem): void; } ... etc ...
I need to create documentation based on the JSDoc and TypeScript interfaces. The problem is that the generators I found all work with JavaScript, and the interfaces are not compiled for JavaScript. I could put JSDoc on the actual classes and functions that implement the interfaces, but I would lose intellisense when people reference the .d.ts file.
Is there a tool that generates html documentation from JSDoc comments and a TypeScript interface definition in a .d.ts file?
source share