Open truhlikfredy opened 7 years ago
The regular constructors work, but the shorthand constructors create issues, input:
class Experiment { constructor(public lines: string[], private alignSymbols: number, private firstSymbolOnly: boolean) { } }
Will cause the "add doc" command create this:
class Experiment { /** * @param {string[]} publiclines * @param {number} privatealignSymbols * @param {boolean} privatefirstSymbolOnly */ constructor(public lines: string[], private alignSymbols: number, private firstSymbolOnly: boolean) { } }
Notice the public/private are now part of a field name in the auto-generated documentation.
The regular constructors work, but the shorthand constructors create issues, input:
Will cause the "add doc" command create this:
Notice the public/private are now part of a field name in the auto-generated documentation.