github-pages-deploy-action/node_modules/graphql/validation/rules/UniqueVariableNamesRule.d.ts
2020-03-06 22:45:40 -05:00

12 lines
318 B
TypeScript

import { ASTVisitor } from '../../language/visitor';
import { ASTValidationContext } from '../ValidationContext';
/**
* Unique variable names
*
* A GraphQL operation is only valid if all its variables are uniquely named.
*/
export function UniqueVariableNamesRule(
context: ASTValidationContext,
): ASTVisitor;