typedoc-plugin-typescript-declaration
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -191,3 +191,8 @@ 'use strict'; | ||
sections.push(comment.tags | ||
.map(t => { var _a; return ` * ${join(' ', `@${t.tagName}`, t.paramName, (_a = t.text) === null || _a === void 0 ? void 0 : _a.replace(/\n$/m, ''))}`; }) | ||
.map(t => { | ||
var _a, _b; | ||
const [firstLine, ...remainingLines] = (_a = t.text) === null || _a === void 0 ? void 0 : _a.replace(/\n$/, '').split(/\n/gm); | ||
return ` * @${join(' ', t.tagName, firstLine || '')}${((_b = remainingLines) === null || _b === void 0 ? void 0 : _b.length) ? `\n${remainingLines.map(l => ` * ${l}`.trimRight()).join('\n')}` | ||
: ''}`; | ||
}) | ||
.join('\n')); | ||
@@ -194,0 +199,0 @@ } |
{ | ||
"name": "typedoc-plugin-typescript-declaration", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Typedoc plugin to render to typescript declaration file", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
47325
1031