graphql-codegen-typescript-operation-types
JSON →This is a @graphql-codegen plugin (v2.0.2, active development) that generates only the TypeScript types (inputs, enums, objects) actually used in your GraphQL operations. It acts as a drop-in replacement for the official @graphql-codegen/typescript plugin but reduces output size by excluding unused types. It is designed to work alongside @graphql-codegen/typescript-operations with preResolveTypes: true. Requires Node >=16 and graphql@0.12-16. Ship TypeScript definitions.