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:
+4
-3
@@ -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) => {
|
||||
|
||||
+1
@@ -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) {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user