mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +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 {
|
export class DataModule {
|
||||||
static forRoot(): ModuleWithProviders {
|
static forRoot(): ModuleWithProviders<DataModule> {
|
||||||
return <ModuleWithProviders>{
|
return {
|
||||||
ngModule: DataModule,
|
ngModule: DataModule,
|
||||||
providers: [
|
providers: [
|
||||||
...SERVICES,
|
...SERVICES,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue