UNPKG

@graphql-eslint/eslint-plugin

Version:
9 lines (6 loc) 287 B
import { DocumentNode, GraphQLSchema } from 'graphql'; import { GraphQLESTreeNode } from './types.js'; import 'eslint'; import 'estree'; declare function convertToESTree<T extends DocumentNode>(node: T, schema?: GraphQLSchema | null): GraphQLESTreeNode<T>; export { convertToESTree };