diff --git a/.changeset/big-mice-switch.md b/.changeset/big-mice-switch.md new file mode 100644 index 00000000000..f9b10720567 --- /dev/null +++ b/.changeset/big-mice-switch.md @@ -0,0 +1,5 @@ +--- +'@graphql-codegen/cli': patch +--- + +fix: `gqlMagicComment` type diff --git a/packages/utils/plugins-helpers/src/types.ts b/packages/utils/plugins-helpers/src/types.ts index 1b8e38741ce..4bb91a48c17 100644 --- a/packages/utils/plugins-helpers/src/types.ts +++ b/packages/utils/plugins-helpers/src/types.ts @@ -505,7 +505,7 @@ export namespace Types { /** * @description Configures the magic GraphQL comments to look for. The default is `GraphQL`. */ - magicComment?: string; + gqlMagicComment?: string; /** * @description Overrides the name of the default GraphQL name identifier. */