mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
11 lines
381 B
TypeScript
11 lines
381 B
TypeScript
|
import { ASTVisitor } from '../../language/visitor';
|
||
|
import { ValidationContext } from '../ValidationContext';
|
||
|
|
||
|
/**
|
||
|
* No unused fragments
|
||
|
*
|
||
|
* A GraphQL document is only valid if all fragment definitions are spread
|
||
|
* within operations, or spread within other fragments spread within operations.
|
||
|
*/
|
||
|
export function NoUnusedFragmentsRule(context: ValidationContext): ASTVisitor;
|