Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit 9642e3b

Browse files
authored
Merge pull request #125 from maraisr/feature/spelling-mistake
chore: Rectify spelling mistakes
2 parents ccb6e3d + b21ad3d commit 9642e3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TypeScriptGenerator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,12 +318,12 @@ function createVisitor(options: TypeGeneratorOptions) {
318318

319319
Fragment(node: any) {
320320
const flattenedSelections: Selection[] = flattenArray(node.selections);
321-
const numConecreteSelections = flattenedSelections.filter(
321+
const numConcreteSelections = flattenedSelections.filter(
322322
s => s.concreteType
323323
).length;
324324
const selections = flattenedSelections.map(selection => {
325325
if (
326-
numConecreteSelections <= 1 &&
326+
numConcreteSelections <= 1 &&
327327
isTypenameSelection(selection) &&
328328
!isAbstractType(node.type)
329329
) {

0 commit comments

Comments
 (0)