From 0bcce8ca31e75b4274f006cd2c55d05dfd7e3850 Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Mon, 15 Jan 2024 09:50:51 +0100 Subject: [PATCH] fix: type import from apollo client --- packages/vue-apollo-composable/src/useLazyQuery.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vue-apollo-composable/src/useLazyQuery.ts b/packages/vue-apollo-composable/src/useLazyQuery.ts index f7bb933a..41deacff 100644 --- a/packages/vue-apollo-composable/src/useLazyQuery.ts +++ b/packages/vue-apollo-composable/src/useLazyQuery.ts @@ -1,7 +1,7 @@ import { DocumentNode } from 'graphql' import { isRef } from 'vue-demi' import { useQueryImpl, DocumentParameter, VariablesParameter, OptionsParameter, UseQueryOptions, UseQueryReturn } from './useQuery' -import type { OperationVariables } from '@apollo/client/core/index.js' +import type { OperationVariables } from '@apollo/client/core' export interface UseLazyQueryReturn extends UseQueryReturn { load: (document?: DocumentNode | null, variables?: TVariables | null, options?: UseQueryOptions | null) => false | Promise