File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @scullyio/ng-lib" ,
3- "version" : " 0.0.6 " ,
3+ "version" : " 0.0.7 " ,
44 "repository" : {
55 "type" : " GIT" ,
66 "url" : " https://github.com/scullyio/scully/tree/master/projects/scullyio/ng-lib"
Original file line number Diff line number Diff line change 1- import { HttpClientModule } from '@angular/common/http' ;
1+ import { HttpClient } from '@angular/common/http' ;
22import { NgModule } from '@angular/core' ;
33import { ScullyContentComponent } from './scully-content/scully-content.component' ;
44
55@NgModule ( {
66 declarations : [ ScullyContentComponent ] ,
7- imports : [ HttpClientModule ] ,
87 exports : [ ScullyContentComponent ] ,
98} )
10- export class ComponentsModule { }
9+ export class ComponentsModule {
10+ static forRoot ( ) {
11+ return {
12+ NgModule : ComponentsModule ,
13+ deps : [ HttpClient ] ,
14+ } ;
15+ }
16+ }
You can’t perform that action at this time.
0 commit comments