graphql-tag-ts
JSON →A strongly-typed wrapper around graphql-tag that uses TypeScript module augmentation to automatically infer the types of your GraphQL queries, mutations, and subscriptions without manual type declarations. The current stable version is 0.1.16. It integrates seamlessly with Apollo Client hooks (useQuery, useMutation, etc.) and Apollo Server integration testing utilities. The library is minimal, focusing on type safety, and is actively maintained. Unlike alternatives, it does not require code generation or external tools; just install and your gql template literals become typed.
Resources
packagegraphql-tag-ts ↗