File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @scullyio/ng-lib" ,
3
- "version" : " 0.0.6 " ,
3
+ "version" : " 0.0.7 " ,
4
4
"repository" : {
5
5
"type" : " GIT" ,
6
6
"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' ;
2
2
import { NgModule } from '@angular/core' ;
3
3
import { ScullyContentComponent } from './scully-content/scully-content.component' ;
4
4
5
5
@NgModule ( {
6
6
declarations : [ ScullyContentComponent ] ,
7
- imports : [ HttpClientModule ] ,
8
7
exports : [ ScullyContentComponent ] ,
9
8
} )
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