1 | import { ValidationContext } from "../ValidationContext";
|
2 | import { ASTVisitor } from "../../language/visitor";
|
3 |
|
4 | export function inlineFragmentOnNonCompositeErrorMessage(type: string): string;
|
5 |
|
6 | export function fragmentOnNonCompositeErrorMessage(fragName: string, type: string): string;
|
7 |
|
8 | /**
|
9 | * Fragments on composite type
|
10 | *
|
11 | * Fragments use a type condition to determine if they apply, since fragments
|
12 | * can only be spread into a composite type (object, interface, or union), the
|
13 | * type condition must also be a composite type.
|
14 | */
|
15 | export function FragmentsOnCompositeTypes(context: ValidationContext): ASTVisitor;
|