Skip to content

Commit 0e5ac6c

Browse files
committed
Add fix
1 parent 9d04a0e commit 0e5ac6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/schematics/src/ng-add/actions/add-standalone-import.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ export function addStandaloneConfigsToProviders(options: NgAddOptions): Rule {
77
return (host: Tree, context: SchematicContext) => {
88
const [projectName] = getProject(host);
99
const { fileName } = options.standaloneInfo!;
10-
10+
1111
context.logger.info(`✅️ All imports done, please add the 'provideRouter()' as well if you don't have it provided yet.`);
1212

1313
return chain([
1414
addRootProvider(projectName, ({code, external}) => {
1515
external('authConfig', `./auth/${fileName}`);
1616
return code`${external('provideAuth', 'angular-auth-oidc-client')}(authConfig)`;
1717
}),
18-
]);
18+
] as Iterable<Rule>);
1919
};
2020
}

0 commit comments

Comments
 (0)