vovk-cli 0.0.1-draft.270 → 0.0.1-draft.272
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/utils/compileTs.mjs +2 -1
- package/package.json +1 -1
package/dist/utils/compileTs.mjs
CHANGED
|
@@ -238,8 +238,9 @@ function refToTypeName(ref) {
|
|
|
238
238
|
const name = parts[parts.length - 1];
|
|
239
239
|
return upperFirst(camelCase(name));
|
|
240
240
|
}
|
|
241
|
+
// Update the capitalize function to use lodash methods for consistency
|
|
241
242
|
function capitalize(str) {
|
|
242
|
-
return
|
|
243
|
+
return upperFirst(camelCase(str));
|
|
243
244
|
}
|
|
244
245
|
function wrapUnionType(type) {
|
|
245
246
|
// Wrap union types in parentheses for array types
|