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 3const PostsQuery = gql` 4 query AllPosts { 5 posts { 6 title 7 8 } 9 } 10`; 11 12const Regression190 = gql` 13query AllPosts { 14 15} 16`; 17 18const sql = (x: string | TemplateStringsArray) => x; 19const x = sql`'{}'`;