diff --git a/packages/vue-apollo-composable/src/useQuery.ts b/packages/vue-apollo-composable/src/useQuery.ts index 915f3cb3..5d47f3a1 100644 --- a/packages/vue-apollo-composable/src/useQuery.ts +++ b/packages/vue-apollo-composable/src/useQuery.ts @@ -40,7 +40,7 @@ export interface UseQueryOptions< TVariables extends OperationVariables = OperationVariables > extends Omit, 'query' | 'variables'> { clientId?: string - enabled?: boolean + enabled?: boolean | Ref throttle?: number debounce?: number prefetch?: boolean diff --git a/packages/vue-apollo-composable/src/useSubscription.ts b/packages/vue-apollo-composable/src/useSubscription.ts index e5738ce6..b404c306 100644 --- a/packages/vue-apollo-composable/src/useSubscription.ts +++ b/packages/vue-apollo-composable/src/useSubscription.ts @@ -35,7 +35,7 @@ export interface UseSubscriptionOptions < TVariables = OperationVariables > extends Omit, 'query' | 'variables'> { clientId?: string - enabled?: boolean + enabled?: boolean | Ref throttle?: number debounce?: number }