Automatically Generate TypeScript Definitions for GraphQL Queries with Apollo Codegen

faraz amiruddin
Dec 20, 2018 · 4 min read
So happy together

👋🏽 Hi! I’m Faraz, and I’m a software engineer @ AdHawk.

Recently, I’ve started to use TypeScript with Apollo and React, and I’d love to share something cool that I learned.

Apollo has a great set of command line tools that make generating type definitions for your queries quite simple. This…