kamilkisiela / apollo-client-rxjs

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

Compatibility with Typescript 2.1.x #23

Closed davydkov closed 7 years ago

davydkov commented 7 years ago

Compilation with TypeScript 2.1.5 fails with the following errors:

[at-loader] node_modules/apollo-client-rxjs/build/src/RxObservableQuery.d.ts:9:25
    Generic type 'ObservableQuery<T>' requires 1 type argument(s).

[at-loader] node_modules/apollo-client-rxjs/build/src/RxObservableQuery.d.ts:11:39
    Generic type 'ApolloQueryResult' requires 1 type argument(s).

[at-loader] node_modules/apollo-client-rxjs/build/src/rxify.d.ts:3:55
    Generic type 'ObservableQuery<T>' requires 1 type argument(s).

[at-loader] node_modules/apollo-client-rxjs/build/src/rxify.d.ts:4:75
    Generic type 'ApolloQueryResult' requires 1 type argument(s).

[at-loader] node_modules/apollo-client-rxjs/build/src/utils/ObservableQueryRef.d.ts:4:23
    Generic type 'ObservableQuery<T>' requires 1 type argument(s).

[at-loader] node_modules/apollo-client-rxjs/build/src/utils/ObservableQueryRef.d.ts:5:17
    Generic type 'ObservableQuery<T>' requires 1 type argument(s).

[at-loader] node_modules/apollo-client-rxjs/build/src/utils/ObservableQueryRef.d.ts:6:15
    Generic type 'ObservableQuery<T>' requires 1 type argument(s).
kamilkisiela commented 7 years ago

Are you sure, you're using the latest version, v0.4.0?

kamilkisiela commented 7 years ago

@mention me if it still occurs