Skip to content

Commit 4be58ee

Browse files
alan-agius4clydin
authored andcommitted
fix(@schematics/angular): reset module typeSeparator when generating applications
The application schematic now invokes the module schematic with `typeSeparator` explicitly set to `undefined`. This ensures any legacy value from `angular.json` set by older versions of the Angular CLI is cleared during application generation and does not cause multiple files to be generated. Closes #30497
1 parent c437111 commit 4be58ee

File tree

1 file changed

+1
-0
lines changed
  • packages/schematics/angular/application

1 file changed

+1
-0
lines changed

packages/schematics/angular/application/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export default function (options: ApplicationOptions): Rule {
6969
routingScope: 'Root',
7070
path: sourceDir,
7171
project: options.name,
72+
typeSeparator: undefined,
7273
}),
7374
schematic('component', {
7475
name: 'app',

0 commit comments

Comments
 (0)