Skip to content

Commit

Permalink
fixup! feat(compiler): copy dock block from component to generated types
Browse files Browse the repository at this point in the history
  • Loading branch information
jgroth committed Nov 17, 2022
1 parent a21588d commit a951d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function getDocBlock(docs: d.CompilerJsDoc, indentation: number = 0): string {
return [spaces + '/**', ...textDocs.map((line) => spaces + ` * ${line}`), spaces + ' */'].join(`\n`);
}

function getDocBlockLines(docs: d.CompilerJsDoc | undefined | null): string[] {
function getDocBlockLines(docs: d.CompilerJsDoc): string[] {
return [
...docs.text.split(lineBreakRegex),
...docs.tags
Expand Down

0 comments on commit a951d30

Please sign in to comment.