diff options
Diffstat (limited to '')
| -rw-r--r-- | source/gql.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gql.ts b/source/gql.ts index f88d8ff..823f73a 100644 --- a/source/gql.ts +++ b/source/gql.ts @@ -8,7 +8,7 @@ import { type DefinitionNode, type DocumentNode, type Location -} from "graphql"; +} from "#deps"; /*** UTILITY ------------------------------------------ ***/ @@ -143,6 +143,7 @@ function parseDocument(source: string) { const cacheKey = normalize(source); if (!docCache.has(cacheKey)) { + // @ts-ignore: TS2353 const parsed = parse(source, { allowLegacyFragmentVariables }); if (!parsed || parsed.kind !== "Document") |