Mirror: TypeScript LSP plugin that finds GraphQL documents in your code and provides diagnostics, auto-complete and hover-information.
at main 333 B view raw
1import { graphql } from './graphql'; 2 3// prettier-ignore 4export const PokemonFields = graphql(` 5 fragment pokemonFields on Pokemon { 6 id 7 name 8 fleeRate 9 10 } 11`); 12 13// prettier-ignore 14export const Regression190 = graphql(` 15fragment pokemonFields on Pokemon { 16 id 17 name 18 fleeRate 19 20} 21`); 22 23export const Pokemon = () => {};