Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit f47da38

Browse files
authored
fix(core): add generic type to ModuleWithProviders to support v10 (#1260)
1 parent fc0b4f5 commit f47da38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ export class FlexLayoutModule {
3737
* which sets the corresponding tokens accordingly
3838
*/
3939
static withConfig(configOptions: LayoutConfigOptions,
40-
breakpoints: BreakPoint|BreakPoint[] = []): ModuleWithProviders {
40+
// tslint:disable-next-line:max-line-length
41+
breakpoints: BreakPoint|BreakPoint[] = []): ModuleWithProviders<FlexLayoutModule> {
4142
return {
4243
ngModule: FlexLayoutModule,
4344
providers: configOptions.serverLoaded ?

0 commit comments

Comments
 (0)