Revert "Fix VariableFn<V> type returns Object instead of V" (#764)
This reverts commit faba67762d.
This commit is contained in:
Vendored
+1
-1
@@ -16,7 +16,7 @@ type Diff<T extends Property, U extends Property> = ({ [P in T]: P } & { [P in U
|
||||
type Omit<T, K extends keyof T> = { [P in Diff<keyof T, K>]?: T[P] };
|
||||
|
||||
type ApolloVueThisType<V> = V & { [key: string]: any };
|
||||
type VariableFn<V> = ((this: ApolloVueThisType<V>) => V) | V;
|
||||
type VariableFn<V> = ((this: ApolloVueThisType<V>) => Object) | Object;
|
||||
type ApolloVueUpdateQueryFn<V> = (this: ApolloVueThisType<V>, previousQueryResult: { [key: string]: any }, options: {
|
||||
error: any,
|
||||
subscriptionData: { data: any; };
|
||||
|
||||
Reference in New Issue
Block a user