diff --git a/src/execution/execute.ts b/src/execution/execute.ts index fa4ed54a76..817e596345 100644 --- a/src/execution/execute.ts +++ b/src/execution/execute.ts @@ -99,7 +99,7 @@ export type ExecutionContext = { rootValue: unknown; contextValue: unknown; operation: OperationDefinitionNode; - variableValues: { [variable: string]: unknown; }; + variableValues: { [variable: string]: unknown }; fieldResolver: GraphQLFieldResolver; typeResolver: GraphQLTypeResolver; errors: Array; @@ -129,7 +129,7 @@ export type ExecutionArgs = { document: DocumentNode; rootValue?: unknown; contextValue?: unknown; - variableValues?: Maybe<{ readonly [variable: string]: unknown; }>; + variableValues?: Maybe<{ readonly [variable: string]: unknown }>; operationName?: Maybe; fieldResolver?: Maybe>; typeResolver?: Maybe>; @@ -230,7 +230,7 @@ function buildResponse( export function assertValidExecutionArguments( schema: GraphQLSchema, document: DocumentNode, - rawVariableValues: Maybe<{ readonly [variable: string]: unknown; }>, + rawVariableValues: Maybe<{ readonly [variable: string]: unknown }>, ): void { devAssert(document, 'Must provide document.'); @@ -257,7 +257,7 @@ export function buildExecutionContext( document: DocumentNode, rootValue: unknown, contextValue: unknown, - rawVariableValues: Maybe<{ readonly [variable: string]: unknown; }>, + rawVariableValues: Maybe<{ readonly [variable: string]: unknown }>, operationName: Maybe, fieldResolver: Maybe>, typeResolver?: Maybe>, diff --git a/src/language/visitor.ts b/src/language/visitor.ts index b1dd3b867e..612333eb06 100644 --- a/src/language/visitor.ts +++ b/src/language/visitor.ts @@ -372,7 +372,7 @@ export function getVisitFn( visitor: ASTVisitor, kind: string, isLeaving: boolean, - ): Maybe> { +): Maybe> { const kindVisitor = visitor[kind]; if (kindVisitor) { if (!isLeaving && typeof kindVisitor === 'function') {