diff --git a/types/options.d.ts b/types/options.d.ts index 4a0d8bc..85d399e 100644 --- a/types/options.d.ts +++ b/types/options.d.ts @@ -39,7 +39,9 @@ interface PrivateVueApolloComponentOptions VueApolloComponentSpecialOptions[keyof VueApolloComponentSpecialOptions] } -export type VueApolloComponentOptions = DeepApplyThisType +// https://github.com/microsoft/TypeScript/issues/33392 +// export type VueApolloComponentOptions = DeepApplyThisType +export type VueApolloComponentOptions = PrivateVueApolloComponentOptions & ThisType /* Special component options */ diff --git a/types/vue-apollo.d.ts b/types/vue-apollo.d.ts index 6586d59..76d781d 100644 --- a/types/vue-apollo.d.ts +++ b/types/vue-apollo.d.ts @@ -76,6 +76,6 @@ export interface DollarApollo extends ApolloClientMethods { getClient(): ApolloClient - addSmartQuery(key: string, options: VueApolloQueryDefinition): SmartQuery + addSmartQuery(key: string, options: VueApolloQueryDefinition): SmartQuery addSmartSubscription(key: string, options: VueApolloSubscriptionDefinition): SmartSubscription }