Mirror: TypeScript LSP plugin that finds GraphQL documents in your code and provides diagnostics, auto-complete and hover-information.
1import { gql } from '@urql/core'; 2 3export const PostFields = gql` 4 fragment PostFields on Post { 5 id 6 } 7` as typeof import('./rename-complex.generated').PostFieldsFragmentDoc; 8 9export const Post2Fields = gql` 10 fragment Post2Fields on Post { 11 title 12 } 13` as typeof import('./rename-complex.generated').PostFieldsFragmentDoc;