github-pages-deploy-action/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts

12 lines
320 B
TypeScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
import { ASTVisitor } from '../../language/visitor';
import { ASTValidationContext } from '../ValidationContext';
/**
* Unique fragment names
*
* A GraphQL document is only valid if all defined fragments have unique names.
*/
export function UniqueFragmentNamesRule(
context: ASTValidationContext,
): ASTVisitor;