mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 07:30:12 +01:00
fix(docs): use generic module with providers
This commit is contained in:
parent
8ca3d9d79c
commit
530ad169d9
1 changed files with 2 additions and 2 deletions
|
|
@ -28,8 +28,8 @@ const SERVICES = [
|
|||
],
|
||||
})
|
||||
export class DataModule {
|
||||
static forRoot(): ModuleWithProviders {
|
||||
return <ModuleWithProviders>{
|
||||
static forRoot(): ModuleWithProviders<DataModule> {
|
||||
return {
|
||||
ngModule: DataModule,
|
||||
providers: [
|
||||
...SERVICES,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue