1 | import { ValidationContext } from "../ValidationContext";
|
2 | import { ASTVisitor } from "../../language/visitor";
|
3 |
|
4 | export function unusedFragMessage(fragName: string): string;
|
5 |
|
6 | /**
|
7 | * No unused fragments
|
8 | *
|
9 | * A GraphQL document is only valid if all fragment definitions are spread
|
10 | * within operations, or spread within other fragments spread within operations.
|
11 | */
|
12 | export function NoUnusedFragments(context: ValidationContext): ASTVisitor;
|