Skip to content

Commit 9272b4b

Browse files
crisbetojelbourn
authored andcommitted
fix(a11y): add all providers to forRoot (#2222)
* fix(a11y): add all providers to forRoot Adds all of the necessary providers to the `A11yModule`. Fixes #2189. * Remove redundant concat.
1 parent db9608f commit 9272b4b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/lib/core/a11y/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ export class A11yModule {
1616
static forRoot(): ModuleWithProviders {
1717
return {
1818
ngModule: A11yModule,
19-
providers: A11Y_PROVIDERS,
19+
providers: [
20+
PlatformModule.forRoot().providers,
21+
A11Y_PROVIDERS,
22+
],
2023
};
2124
}
2225
}

0 commit comments

Comments
 (0)