@kubb/ts-codegen
Advanced tools
Comparing version 1.9.0-canary.20230913T082854 to 1.9.0-canary.20230913T152510
@@ -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.9.0-canary.20230913T082854", | ||
"version": "1.9.0-canary.20230913T152510", | ||
"description": "Generator ts-codegen", | ||
@@ -48,4 +48,4 @@ "keywords": [ | ||
"@kubb/eslint-config": "1.1.8", | ||
"@kubb/ts-config": "0.1.0", | ||
"@kubb/tsup-config": "1.1.8" | ||
"@kubb/tsup-config": "1.1.8", | ||
"@kubb/ts-config": "0.1.0" | ||
}, | ||
@@ -52,0 +52,0 @@ "packageManager": "pnpm@8.3.0", |
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
69994
696