Skip to content

Commit c323f64

Browse files
Make sure to support the type along with the enum
1 parent c9fa4dd commit c323f64

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/templates/index.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export type { {{{name}}}{{#if @root.postfixModels}} as {{{name}}}{{{@root.postfi
2222
{{else if enum}}
2323
export { {{{name}}}{{#if @root.postfixModels}} as {{{name}}}{{{@root.postfixModels}}}{{/if}} } from './models/{{{name}}}';
2424
{{else if enums}}
25+
export { {{{name}}}{{#if @root.postfixModels}} as {{{name}}}{{{@root.postfixModels}}}{{/if}} } from './models/{{{name}}}';
2526
{{#each enums}}
2627
export { {{{../name}}}_{{{name}}} } from './models/{{{../name}}}';
2728
{{/each}}

0 commit comments

Comments
 (0)