fix(docs): use generic module with providers

This commit is contained in:
Sergey Andrievskiy 2020-09-18 13:43:17 +03:00
parent 8ca3d9d79c
commit 530ad169d9

View file

@ -28,8 +28,8 @@ const SERVICES = [
],
})
export class DataModule {
static forRoot(): ModuleWithProviders {
return <ModuleWithProviders>{
static forRoot(): ModuleWithProviders<DataModule> {
return {
ngModule: DataModule,
providers: [
...SERVICES,