@kubb/ts-codegen
Advanced tools
Comparing version 1.8.4 to 1.8.5
@@ -114,3 +114,3 @@ import { createRequire } from 'module'; | ||
return `${acc} | ||
* ${comment}`; | ||
* ${comment}`; | ||
}, "*"); | ||
@@ -283,3 +283,3 @@ return ts.addSyntheticLeadingComment({ ...node }, ts.SyntaxKind.MultiLineCommentTrivia, `${text || "*"} | ||
const sourceFile = ts.createSourceFile(fileName, "", ts.ScriptTarget.ESNext, true, ts.ScriptKind.TS); | ||
const printer = ts.createPrinter(); | ||
const printer = ts.createPrinter({ omitTrailingSemicolon: false, newLine: ts.NewLineKind.LineFeed }); | ||
const outputFile = printer.printList(ts.ListFormat.MultiLine, nodesArray, sourceFile); | ||
@@ -286,0 +286,0 @@ return outputFile; |
{ | ||
"name": "@kubb/ts-codegen", | ||
"version": "1.8.4", | ||
"version": "1.8.5", | ||
"description": "Generator ts-codegen", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
70342