Mirror: TypeScript LSP plugin that finds GraphQL documents in your code and provides diagnostics, auto-complete and hover-information.
1import { initGraphQLTada } from 'gql.tada'; 2// @ts-ignore 3import type { introspection } from './todos'; 4 5export const graphql = initGraphQLTada<{ 6 introspection: introspection; 7}>(); 8 9export type { FragmentOf, ResultOf, VariablesOf } from 'gql.tada'; 10export { readFragment } from 'gql.tada';