Run yarn dedupe and upgrade TS (#13853)

Upgrading TS to the latest version, and cleaning up packages with yarn
dedupe
This commit is contained in:
Félix Malfait
2025-08-12 15:18:59 +02:00
committed by GitHub
parent 62352901ba
commit 3c0f3fd2ae
17 changed files with 330 additions and 4909 deletions
@@ -1,10 +1,10 @@
import {
type GraphQLResolveInfo,
type SelectionSetNode,
Kind,
type SelectionNode,
type FieldNode,
type GraphQLResolveInfo,
type InlineFragmentNode,
type SelectionNode,
type SelectionSetNode,
type ValueNode,
} from 'graphql';
@@ -60,6 +60,7 @@ const parseValueNode = (
case Kind.ENUM:
return valueNode.value;
case Kind.LIST:
// @ts-expect-error legacy noImplicitAny
return valueNode.values.map((value) => parseValueNode(value, variables));
case Kind.OBJECT:
return valueNode.fields.reduce((obj, field) => {
@@ -45,6 +45,7 @@ export class InputTypeDefinitionFactory {
const inputType = new GraphQLInputObjectType({
name: `${pascalCase(objectMetadata.nameSingular)}${kind.toString()}Input`,
description: objectMetadata.description,
// @ts-expect-error legacy noImplicitAny
fields: () => {
switch (kind) {
/**