graphql
Version:
A Query Language and Runtime which can target any service.
15 lines (14 loc) • 480 B
TypeScript
import type { Location } from './ast';
import type { SourceLocation } from './location';
import type { Source } from './source';
/**
* 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;