This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
heroes-graphql/ts/src/app Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { ActivatedRoute } from '@angular/router';
44import { Location } from '@angular/common' ;
55
66import { Apollo , ApolloQueryObservable } from 'apollo-angular' ;
7- import { Subscription } from 'rxjs/Subscription' ;
7+ import { ISubscription } from 'rxjs/Subscription' ;
88import gql from 'graphql-tag' ;
99
1010import { Hero } from './hero' ;
@@ -17,7 +17,7 @@ import { Hero } from './hero';
1717export class HeroDetailComponent implements OnInit {
1818 hero : Hero ;
1919
20- private heroSubscription : Subscription ;
20+ private heroSubscription : ISubscription ;
2121 private heroObservable : ApolloQueryObservable < any > ;
2222
2323 constructor (
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { ActivatedRoute } from '@angular/router';
44import { Location } from '@angular/common' ;
55
66import { Apollo , ApolloQueryObservable } from 'apollo-angular' ;
7- import { Subscription } from 'rxjs/Subscription' ;
7+ import { ISubscription } from 'rxjs/Subscription' ;
88import gql from 'graphql-tag' ;
99
1010import { Hero } from './hero' ;
@@ -18,7 +18,7 @@ import { ApolloQueryResult } from 'apollo-client';
1818export class HeroDetailComponent implements OnInit {
1919 hero : Hero ;
2020
21- private heroSubscription : Subscription ;
21+ private heroSubscription : ISubscription ;
2222 private heroObservable : ApolloQueryObservable < any > ;
2323
2424 constructor (
Original file line number Diff line number Diff line change 4848 "@angular/upgrade" : " 2.4.5" ,
4949 "angular-in-memory-web-api" : " ~0.2.4" ,
5050 "apollo-angular" : " ^0.12.0" ,
51- "apollo-client" : " 0.10.0 " ,
51+ "apollo-client" : " 1.0.0-rc.5 " ,
5252 "core-js" : " ^2.4.1" ,
5353 "graphql" : " ^0.9.1" ,
5454 "graphql-subscriptions" : " ^0.3.1" ,
55- "graphql-tag" : " ^1.3.1 " ,
55+ "graphql-tag" : " ^1.3.2 " ,
5656 "graphql-tools" : " ^0.10.1" ,
5757 "lodash" : " ^4.17.4" ,
5858 "rxjs" : " 5.0.1" ,
You can’t perform that action at this time.
0 commit comments