graphql-language-service
Version:
The official, runtime independent Language Service for GraphQL
6 lines • 311 B
TypeScript
import { GraphQLSchema, DocumentNode, GraphQLInputType } from 'graphql';
export declare type VariableToType = {
[variable: string]: GraphQLInputType;
};
export declare function collectVariables(schema: GraphQLSchema, documentAST: DocumentNode): VariableToType;
//# sourceMappingURL=collectVariables.d.ts.map