Remove @angular/http
This commit is contained in:
parent
e98a16b504
commit
9527ff0dcd
8
package-lock.json
generated
8
package-lock.json
generated
@ -716,14 +716,6 @@
|
|||||||
"tslib": "^1.7.1"
|
"tslib": "^1.7.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@angular/http": {
|
|
||||||
"version": "5.2.11",
|
|
||||||
"resolved": "https://registry.npmjs.org/@angular/http/-/http-5.2.11.tgz",
|
|
||||||
"integrity": "sha512-eR7wNXh1+6MpcQNb3sq4bJVX03dx50Wl3kpPG+Q7N1VSL0oPQSobaTrR17ac3oFCEfSJn6kkUCqtUXha6wcNHg==",
|
|
||||||
"requires": {
|
|
||||||
"tslib": "^1.7.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@angular/language-service": {
|
"@angular/language-service": {
|
||||||
"version": "5.2.11",
|
"version": "5.2.11",
|
||||||
"resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-5.2.11.tgz",
|
"resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-5.2.11.tgz",
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
"@angular/compiler": "^5.2.0",
|
"@angular/compiler": "^5.2.0",
|
||||||
"@angular/core": "^5.2.0",
|
"@angular/core": "^5.2.0",
|
||||||
"@angular/forms": "^5.2.0",
|
"@angular/forms": "^5.2.0",
|
||||||
"@angular/http": "^5.2.0",
|
|
||||||
"@angular/platform-browser": "^5.2.0",
|
"@angular/platform-browser": "^5.2.0",
|
||||||
"@angular/platform-browser-dynamic": "^5.2.0",
|
"@angular/platform-browser-dynamic": "^5.2.0",
|
||||||
"@angular/router": "^5.2.0",
|
"@angular/router": "^5.2.0",
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { Http, Response, RequestOptions, Headers, URLSearchParams } from '@angular/http';
|
import { Http, Response, RequestOptions, Headers, URLSearchParams } from '@angular/http';
|
||||||
|
import { HttpClient } from '@angular/common/http';
|
||||||
|
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import 'rxjs/add/operator/map';
|
import 'rxjs/add/operator/map';
|
||||||
import { InterviewItem } from './interview';
|
import { InterviewItem } from './interview';
|
||||||
@ -12,6 +14,7 @@ export class DedaloService {
|
|||||||
entrevistas : Entrevista[]
|
entrevistas : Entrevista[]
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
|
private http: HttpClient,
|
||||||
private http: Http
|
private http: Http
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user