Skip to content

Commit cbfc521

Browse files
committed
Add missing type-cast
1 parent 90ee202 commit cbfc521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ function selectionSet(): ast.SelectionSetNode {
330330
name: { kind: 'Name' as Kind.NAME, value: match },
331331
arguments: arguments_(false),
332332
directives: directives(false),
333-
});
333+
} as ast.FragmentSpreadNode);
334334
} else {
335335
ignored();
336336
if (match === 'on') {

0 commit comments

Comments
 (0)