Skip to content

Commit

Permalink
style: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj committed May 14, 2021
1 parent 3474d10 commit aeb3a7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/execution/execute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export type ExecutionContext = {
rootValue: unknown;
contextValue: unknown;
operation: OperationDefinitionNode;
variableValues: { [variable: string]: unknown; };
variableValues: { [variable: string]: unknown };
fieldResolver: GraphQLFieldResolver<any, any>;
typeResolver: GraphQLTypeResolver<any, any>;
errors: Array<GraphQLError>;
Expand Down Expand Up @@ -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<string>;
fieldResolver?: Maybe<GraphQLFieldResolver<any, any>>;
typeResolver?: Maybe<GraphQLTypeResolver<any, any>>;
Expand Down Expand Up @@ -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.');

Expand All @@ -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<string>,
fieldResolver: Maybe<GraphQLFieldResolver<unknown, unknown>>,
typeResolver?: Maybe<GraphQLTypeResolver<unknown, unknown>>,
Expand Down
2 changes: 1 addition & 1 deletion src/language/visitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ export function getVisitFn(
visitor: ASTVisitor,
kind: string,
isLeaving: boolean,
): Maybe<ASTVisitFn<ASTNode>> {
): Maybe<ASTVisitFn<ASTNode>> {
const kindVisitor = visitor[kind];
if (kindVisitor) {
if (!isLeaving && typeof kindVisitor === 'function') {
Expand Down

0 comments on commit aeb3a7d

Please sign in to comment.