Skip to content

Commit e15fff0

Browse files
committed
fixup! fix(@schematics/angular): set explicit type for the app-shell component
1 parent 10ccb08 commit e15fff0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • packages/schematics/angular/app-shell

‎packages/schematics/angular/app-shell/index.ts‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,11 @@ const appShellSchematic: RuleFactory<AppShellOptions> = createProjectSchematic(
210210
module: 'app.module.server.ts',
211211
project: options.project,
212212
standalone: isStandalone,
213-
// The `AppShell` import added above expects the default file and class name, so the
214-
// component must not inherit a `type` from the workspace.
213+
// The `AppShell` import added above expects the default file path and a named export, so
214+
// the component must not inherit a `type`, `flat` or `exportDefault` from the workspace.
215215
type: '',
216+
flat: false,
217+
exportDefault: false,
216218
}),
217219
]);
218220
},

0 commit comments

Comments
 (0)