File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
server/config/environment Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -483,6 +483,10 @@ export class Generator extends Base {
483483 . find ( jscodeshift . TypeAnnotation )
484484 . remove ( )
485485 . toSource ( ) ;
486+ contents = jscodeshift ( contents )
487+ . find ( jscodeshift . GenericTypeAnnotation )
488+ . remove ( )
489+ . toSource ( ) ;
486490
487491 // remove any `type Foo = { .. }` declarations
488492 contents = jscodeshift ( contents )
Original file line number Diff line number Diff line change 1- export default from '../../server/config/environment/shared' ;
1+ < % _ if ( filters . babel ) { - % >
2+ export default from '../../server/config/environment/shared' ; < % } % >
3+ < % _ if ( filters . ts ) { - % >
4+ import shared from '../../server/config/environment/shared' ;
5+
6+ module . exports . default = shared ; < % } % >
Original file line number Diff line number Diff line change 11'use strict' ;
22
3- exports = module . exports = {
3+ module . exports . default = {
44 env : process . env . NODE_ENV ,
55 port : process . env . PORT || < %= devPort % > ,
66 // List of user roles
You can’t perform that action at this time.
0 commit comments