@kubb/ts-codegen
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -146,6 +146,7 @@ import { createRequire } from 'module'; | ||
if (!Array.isArray(name)) { | ||
const parsedName = name?.match(/^\d/) ? `_${name?.slice(1)}` : name; | ||
return factory.createExportDeclaration( | ||
void 0, | ||
isTypeOnly, | ||
asAlias && name ? factory.createNamespaceExport(factory.createIdentifier(name)) : void 0, | ||
asAlias && parsedName ? factory.createNamespaceExport(factory.createIdentifier(parsedName)) : void 0, | ||
factory.createStringLiteral(path), | ||
@@ -152,0 +153,0 @@ void 0 |
{ | ||
"name": "@kubb/ts-codegen", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Generator ts-codegen", | ||
@@ -46,3 +46,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"eslint": "^8.42.0", | ||
"eslint": "^8.43.0", | ||
"tsup": "^7.0.0", | ||
@@ -49,0 +49,0 @@ "@kubb/eslint-config": "1.1.8", |
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
59959
615