1 | import { ValidationContext } from "../ValidationContext";
|
2 | import { ASTVisitor } from "../../language/visitor";
|
3 |
|
4 | export function typeIncompatibleSpreadMessage(fragName: string, parentType: string, fragType: string): string;
|
5 |
|
6 | export function typeIncompatibleAnonSpreadMessage(parentType: string, fragType: string): string;
|
7 |
|
8 | /**
|
9 | * Possible fragment spread
|
10 | *
|
11 | * A fragment spread is only valid if the type condition could ever possibly
|
12 | * be true: if there is a non-empty intersection of the possible parent types,
|
13 | * and possible types which pass the type condition.
|
14 | */
|
15 | export function PossibleFragmentSpreads(context: ValidationContext): ASTVisitor;
|