Skip to content

Commit

Permalink
fix(data): Angular 9 style ModuleWithProvider (#2356) (#2357)
Browse files Browse the repository at this point in the history
Closes #2356
  • Loading branch information
Yousuf Jawwad authored Feb 7, 2020
1 parent f3cf6c1 commit 182f140
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/data/src/entity-data.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ import {
],
})
export class EntityDataModule {
static forRoot(config: EntityDataModuleConfig): ModuleWithProviders {
static forRoot(
config: EntityDataModuleConfig
): ModuleWithProviders<EntityDataModule> {
return {
ngModule: EntityDataModule,
providers: [
Expand Down

0 comments on commit 182f140

Please sign in to comment.