graphql-language-service-interface
Version:
Interface to the GraphQL Language Service
9 lines • 509 B
TypeScript
import { GraphQLSchema } from 'graphql';
import { ContextToken } from 'graphql-language-service-parser';
import { IPosition } from 'graphql-language-service-types';
import { Hover } from 'vscode-languageserver-types';
export declare type HoverConfig = {
useMarkdown?: boolean;
};
export declare function getHoverInformation(schema: GraphQLSchema, queryText: string, cursor: IPosition, contextToken?: ContextToken, config?: HoverConfig): Hover['contents'];
//# sourceMappingURL=getHoverInformation.d.ts.map