@kubb/ts-codegen
Advanced tools
Comparing version 1.8.3 to 1.8.4
@@ -219,2 +219,5 @@ import { createRequire } from 'module'; | ||
} | ||
if (typeof key === "number") { | ||
return factory.createEnumMember(factory.createStringLiteral(`${typeName}_${key}`), initializer); | ||
} | ||
return factory.createEnumMember(factory.createStringLiteral(`${key}`), initializer); | ||
@@ -221,0 +224,0 @@ }) |
{ | ||
"name": "@kubb/ts-codegen", | ||
"version": "1.8.3", | ||
"version": "1.8.4", | ||
"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
69971
696