1 | import { ValidationContext } from "../ValidationContext";
|
2 | import { ASTVisitor } from "../../language/visitor";
|
3 |
|
4 | /**
|
5 | * Fields on correct type
|
6 | *
|
7 | * A GraphQL document is only valid if all fields selected are defined by the
|
8 | * parent type, or are an allowed meta field such as __typename.
|
9 | */
|
10 | export function FieldsOnCorrectType(context: ValidationContext): ASTVisitor;
|