This commit is contained in:
10
node_modules/graphql/validation/rules/NoUnusedFragmentsRule.d.ts
generated
vendored
Normal file
10
node_modules/graphql/validation/rules/NoUnusedFragmentsRule.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user