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 title 6 } 7` 8 9export const Post = (post: any) => { 10 return post.title 11}