Skip to content

Commit

Permalink
final version
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-smaug committed Jul 28, 2023
1 parent dcba0d5 commit bb1a430
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function transformComponentsObjectToTypes(components: ComponentsO
ctx: { ...ctx, indentLv: indentLv },
});

output.push(indent(`export type ${camelCase(key, { pascalCase: true })} = ${schemaType};\n`, indentLv));
output.push(indent(`export type ${camelCase(name, { pascalCase: true })} = ${schemaType};\n`, indentLv));
}
} else {
output.push(indent("schemas: never;", indentLv));
Expand Down

0 comments on commit bb1a430

Please sign in to comment.