Skip to content

Commit e704781

Browse files
committed
fix: set generic type for ModuleWithProviders
Usage without a generic type is deprecated for ModuleWithProviders. See https://angular.io/api/core/ModuleWithProviders Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
1 parent 1aa9a97 commit e704781

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: angular/src/super-tabs.module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const DECLARATIONS = [
1717
imports: [CommonModule],
1818
})
1919
export class SuperTabsModule {
20-
static forRoot(): ModuleWithProviders {
20+
static forRoot(): ModuleWithProviders<SuperTabsModule> {
2121
return {
2222
ngModule: SuperTabsModule,
2323
providers: [

0 commit comments

Comments
 (0)