@graphql-tools/graphql
Version:
Fork of GraphQL.js
12 lines (11 loc) • 485 B
text/typescript
import type { Location } from './ast.cjs';
import type { SourceLocation } from './location.cjs';
import type { Source } from './source.cjs';
/**
* Render a helpful description of the location in the GraphQL Source document.
*/
export declare function printLocation(location: Location): string;
/**
* Render a helpful description of the location in the GraphQL Source document.
*/
export declare function printSourceLocation(source: Source, sourceLocation: SourceLocation): string;