From 6cca58498c9d814a2eb76e4533fc05f81d2edbee Mon Sep 17 00:00:00 2001 From: Vinayaka K V Date: Mon, 19 Jun 2023 13:05:32 +0530 Subject: [PATCH] Add @graphql-typed-document-node/core as dependency for static typing --- docs/source/development-testing/static-typing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/development-testing/static-typing.md b/docs/source/development-testing/static-typing.md index 0176fcef988..6e67825a06f 100644 --- a/docs/source/development-testing/static-typing.md +++ b/docs/source/development-testing/static-typing.md @@ -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 +yarn add -D typescript @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: