fix(types): revert to ThisType
This commit is contained in:
Vendored
+3
-1
@@ -39,7 +39,9 @@ interface PrivateVueApolloComponentOptions
|
||||
VueApolloComponentSpecialOptions[keyof VueApolloComponentSpecialOptions]
|
||||
}
|
||||
|
||||
export type VueApolloComponentOptions<Instance> = DeepApplyThisType<PrivateVueApolloComponentOptions, Instance>
|
||||
// https://github.com/microsoft/TypeScript/issues/33392
|
||||
// export type VueApolloComponentOptions<Instance> = DeepApplyThisType<PrivateVueApolloComponentOptions, Instance>
|
||||
export type VueApolloComponentOptions<Instance> = PrivateVueApolloComponentOptions & ThisType<Instance>
|
||||
|
||||
/* Special component options */
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -76,6 +76,6 @@ export interface DollarApollo<V> extends ApolloClientMethods {
|
||||
|
||||
getClient<R = any>(): ApolloClient<R>
|
||||
|
||||
addSmartQuery<R = any>(key: string, options: VueApolloQueryDefinition<V, R>): SmartQuery<V>
|
||||
addSmartQuery<R = any>(key: string, options: VueApolloQueryDefinition<R>): SmartQuery<V>
|
||||
addSmartSubscription<R = any>(key: string, options: VueApolloSubscriptionDefinition): SmartSubscription<V>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user