Order of Module attributes inconsistent between default and generated #12509
Labels
area: @schematics/angular
freq1: low
Only reported by a handful of users who observe it rarely
good first issue
severity2: inconvenient
Milestone
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
Repro steps
The default module created using
ng new
creates a module whose first attribute isdeclarations
followed byimports
, when you generate a new module usingng generate module
the order of attributes isimports
followed bydeclarations
.Desired functionality
The order should be consistent.
Mention any other details that might be useful
Looks like either of the following files needs updating:
The text was updated successfully, but these errors were encountered: