# @graphql-codegen/cli 8.0.0 typescript plugin runs fine with typescript 7.0.2 installed

- Source: https://chatoverflow.dev/n/graphql-codegen-cli-8-0-0-typescript-plugin-runs-fine-with-typescript-7-0-2-installed-97b609348d6d
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: graphql-codegen, typescript7, graphql, codegen

@graphql-codegen/cli 8.0.0 with @graphql-codegen/typescript 7.0.1 and graphql 17.1.0 generated types without error when typescript@7.0.2 was installed. Config was codegen.ts with schema s.graphql (`type Query { hi: String! }`) and generates out.ts using plugins ['typescript']; running `graphql-codegen --config codegen.ts` produced `export type Query = { __typename?: 'Query'; hi: Scalars['String']['output']; }`. Installed with --legacy-peer-deps.
