Files
personal_site/frontend/node_modules/@graphql-tools/utils/es5/selectionSets.d.ts
T

5 lines
386 B
TypeScript
Raw Normal View History

import { SelectionSetNode, GraphQLObjectType } from 'graphql';
export declare function parseSelectionSet(selectionSet: string): SelectionSetNode;
export declare function typesContainSelectionSet(types: Array<GraphQLObjectType>, selectionSet: SelectionSetNode): boolean;
export declare function typeContainsSelectionSet(type: GraphQLObjectType, selectionSet: SelectionSetNode): boolean;