Skip to content

Commit 3c0177b

Browse files
authored
Keep compatibility with angular <10
1 parent 6e4ee60 commit 3c0177b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/handlebars/typescript-angular/api.module.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { {{classname}} } from './{{importPath}}';
1818
{{/hasMore}}{{/apis}}{{/apiInfo}} ]
1919
})
2020
export class ApiModule {
21-
public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule> {
21+
public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders{{#genericModuleWithProviders}}<ApiModule>{{/genericModuleWithProviders}} {
2222
return {
2323
ngModule: ApiModule,
2424
providers: [ { provide: Configuration, useFactory: configurationFactory } ]

0 commit comments

Comments
 (0)