UNPKG

360 BTypeScriptView Raw
1import { ASTNode } from 'graphql/language';
2import { IPosition as TPosition } from 'graphql-language-service-types';
3export declare function getASTNodeAtPosition(query: string, ast: ASTNode, point: TPosition): ASTNode | undefined;
4export declare function pointToOffset(text: string, point: TPosition): number;
5//# sourceMappingURL=getASTNodeAtPosition.d.ts.map
\No newline at end of file