Skip to content

Commit

Permalink
chore: update static-typing.md to add "graphql" as install dependency (
Browse files Browse the repository at this point in the history
…#11786)

The graphql package seems to be required by the generated files

Co-authored-by: Lenz Weber-Tronic <[email protected]>
  • Loading branch information
langarus and phryneas authored Apr 22, 2024
1 parent b74a76b commit 892b6c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/development-testing/static-typing.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Below, we'll guide you through installing and configuring GraphQL Code Generator
To get started using GraphQL Code Generator, begin by installing the following packages (using Yarn or NPM):

```bash
yarn add -D typescript @graphql-codegen/cli @graphql-codegen/client-preset @graphql-typed-document-node/core
yarn add -D typescript graphql @graphql-codegen/cli @graphql-codegen/client-preset @graphql-typed-document-node/core
```

Next, we'll create a configuration file for GraphQL Code Generator, named [`codegen.ts`](https://www.the-guild.dev/graphql/codegen/docs/config-reference/codegen-config), at the root of our project:
Expand Down

0 comments on commit 892b6c4

Please sign in to comment.