mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
12 lines
318 B
TypeScript
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;
|