File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ export function getModelComposition(
59
59
modelProperties . forEach ( modelProperty => {
60
60
composition . imports . push ( ...modelProperty . imports ) ;
61
61
composition . enums . push ( ...modelProperty . enums ) ;
62
+ if ( modelProperty . export === 'enum' ) {
63
+ composition . enums . push ( modelProperty ) ;
64
+ }
62
65
} ) ;
63
66
properties . push ( ...modelProperties ) ;
64
67
}
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ export function getModelComposition(
59
59
modelProperties . forEach ( modelProperty => {
60
60
composition . imports . push ( ...modelProperty . imports ) ;
61
61
composition . enums . push ( ...modelProperty . enums ) ;
62
+ if ( modelProperty . export === 'enum' ) {
63
+ composition . enums . push ( modelProperty ) ;
64
+ }
62
65
} ) ;
63
66
properties . push ( ...modelProperties ) ;
64
67
}
You can’t perform that action at this time.
0 commit comments