kamilkisiela / apollo-client-rxjs

Adds RxJS to ApolloClient
http://apollostack.com
43 stars 12 forks source link

Getting Generic Type Error with latest Angular 4 + Latest Typescript #56

Open changalberto opened 6 years ago

changalberto commented 6 years ago
ERROR in /Users/[user]/Projects/MyProject/Dev/proj/node_modules/apollo-client-rxjs/RxApolloClient.d.ts (2,45): Generic type 'ApolloClient<TCacheShape>' requires 1 type argument(s).
ERROR in /Users/[user]/Projects/MyProject/Dev/proj/node_modules/apollo-client-rxjs/rxify.d.ts (5,51): Generic type 'ApolloClient<TCacheShape>' requires 1 type argument(s).
ERROR in /Users/[user]/Projects/MyProject/Dev/proj/node_modules/apollo-angular/build/src/types.d.ts (3,21): Generic type 'ApolloClient<TCacheShape>' requires 1 type argument(s).
ERROR in /Users/[user]/Projects/MyProject/Dev/proj/node_modules/apollo-angular/build/src/types.d.ts (5,43): Generic type 'ApolloClient<TCacheShape>' requires 1 type argument(s).
ERROR in /Users/[user]/Projects/MyProject/Dev/proj/node_modules/apollo-angular/build/src/Apollo.d.ts (2,100): Module '"/Users/[user]/Projects/MyProject/Dev/proj/node_modules/apollo-client/index"' has no exported member 'ApolloExecutionResult'.
ERROR in /Users/[user]/Projects/MyProject/Dev/proj/node_modules/apollo-angular/build/src/Apollo.d.ts (11,25): Generic type 'ApolloClient<TCacheShape>' requires 1 type argument(s).
ERROR in /Users/[user]/Projects/MyProject/Dev/proj/node_modules/apollo-angular/build/src/Apollo.d.ts (16,18): Generic type 'ApolloClient<TCacheShape>' requires 1 type argument(s).
kamilkisiela commented 6 years ago

If you use apollo-angular then we changed the way ApolloClient works with RxJS. You can check it here: apollographql/apollo-angular#377

No more this kind of issues.