Skip to content

Commit bdde1db

Browse files
committed
prettier
not sure how i successfully committed this with husky in place
1 parent 9e6f027 commit bdde1db

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/utilities/extendSchema.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -594,9 +594,7 @@ export function extendSchemaImpl(
594594
// values below, that would throw immediately while type system
595595
// validation with validateSchema() will produce more actionable results.
596596
// @ts-expect-error
597-
return nodes.flatMap(
598-
(node) => node.interfaces?.map(getNamedType) ?? [],
599-
);
597+
return nodes.flatMap((node) => node.interfaces?.map(getNamedType) ?? []);
600598
}
601599

602600
function buildUnionTypes(
@@ -606,9 +604,7 @@ export function extendSchemaImpl(
606604
// values below, that would throw immediately while type system
607605
// validation with validateSchema() will produce more actionable results.
608606
// @ts-expect-error
609-
return nodes.flatMap(
610-
(node) => node.types?.map(getNamedType) ?? [],
611-
);
607+
return nodes.flatMap((node) => node.types?.map(getNamedType) ?? []);
612608
}
613609

614610
function buildType(astNode: TypeDefinitionNode): GraphQLNamedType {

0 commit comments

Comments
 (0)