@kubb/ts-codegen
Advanced tools
Comparing version 1.1.12 to 1.1.13
@@ -178,3 +178,3 @@ import { createRequire } from 'module'; | ||
enums.map(([key, value]) => { | ||
let initializer = factory.createStringLiteral(`${value}`); | ||
let initializer = factory.createStringLiteral(`${value?.toString()}`); | ||
if (typeof value === "number") { | ||
@@ -204,3 +204,3 @@ initializer = factory.createNumericLiteral(value); | ||
enums.map(([key, value]) => { | ||
let initializer = factory.createStringLiteral(`${value}`); | ||
let initializer = factory.createStringLiteral(`${value?.toString()}`); | ||
if (typeof value === "number") { | ||
@@ -250,1 +250,3 @@ initializer = factory.createNumericLiteral(value); | ||
export { appendJSDocToNode, createEnumDeclaration, createExportDeclaration, createImportDeclaration, createIndexSignature, createIntersectionDeclaration, createJSDoc, createParameterSignature, createPropertySignature, createQuestionToken, createTupleDeclaration, createTypeAliasDeclaration, createUnionDeclaration, modifiers, print }; | ||
//# sourceMappingURL=out.js.map | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@kubb/ts-codegen", | ||
"version": "1.1.12", | ||
"version": "1.1.13", | ||
"description": "Generator ts-codegen", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
59332
8
613