(text: string)
| 61 | } |
| 62 | |
| 63 | function tsDocCommentText(text: string): string { |
| 64 | const lines = sanitizeJsDocText(text).split(/\r?\n/); |
| 65 | if (lines.length === 1) return `/** ${lines[0]} */`; |
| 66 | return ["/**", ...lines.map((line) => ` * ${line}`), " */"].join("\n"); |
| 67 | } |
| 68 | |
| 69 | function pushTsJsDoc(lines: string[], indent: string, entries: string[]): void { |
| 70 | const cleaned = entries.map(sanitizeJsDocText).filter((entry) => entry.length > 0); |
no test coverage detected
searching dependent graphs…