File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ interface PrivateVueApolloComponentOptions
3939 VueApolloComponentSpecialOptions [ keyof VueApolloComponentSpecialOptions ]
4040}
4141
42- export type VueApolloComponentOptions < Instance > = DeepApplyThisType < PrivateVueApolloComponentOptions , Instance >
42+ // https://github.com/microsoft/TypeScript/issues/33392
43+ // export type VueApolloComponentOptions<Instance> = DeepApplyThisType<PrivateVueApolloComponentOptions, Instance>
44+ export type VueApolloComponentOptions < Instance > = PrivateVueApolloComponentOptions & ThisType < Instance >
4345
4446/* Special component options */
4547
Original file line number Diff line number Diff line change @@ -76,6 +76,6 @@ export interface DollarApollo<V> extends ApolloClientMethods {
7676
7777 getClient < R = any > ( ) : ApolloClient < R >
7878
79- addSmartQuery < R = any > ( key : string , options : VueApolloQueryDefinition < V , R > ) : SmartQuery < V >
79+ addSmartQuery < R = any > ( key : string , options : VueApolloQueryDefinition < R > ) : SmartQuery < V >
8080 addSmartSubscription < R = any > ( key : string , options : VueApolloSubscriptionDefinition ) : SmartSubscription < V >
8181}
You can’t perform that action at this time.
0 commit comments