blob: 70b9b140f4a05598fedb5014a6aace9a4fc5b08b [file] [log] [blame]
import { ASTVisitor } from '../../language/visitor';
import { ValidationContext } from '../ValidationContext';
/**
* Fragments on composite type
*
* Fragments use a type condition to determine if they apply, since fragments
* can only be spread into a composite type (object, interface, or union), the
* type condition must also be a composite type.
*/
export function FragmentsOnCompositeTypesRule(
context: ValidationContext,
): ASTVisitor;