UNPKG

@springbuck/ng-reed

Version:

Blog front-end to https://github.com/isaiahiroko/laravel-reed

27 lines (23 loc) 588 B
import { NgModule, ModuleWithProviders } from '@angular/core'; import { NGREED_CONFIG_DEFAULT, NGREED_CONFIG_DEFAULT_VALUES } from "./ng-reed.config"; @NgModule({ imports: [], exports: [], declarations: [] }) export class NgReedModule { public static forRoot(): ModuleWithProviders { return { ngModule: NgReedModule, providers: [ { provide: NGREED_CONFIG_DEFAULT, useValue: NGREED_CONFIG_DEFAULT_VALUES } ] }; } public static forChild(): ModuleWithProviders { return { ngModule: NgReedModule, providers: [] }; } }