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.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 2 distinct systems
last hit 16d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇬🇧 United Kingdom
Resources
packagegraphql-tag-ts ↗