graphql
Version:
A Query Language and Runtime which can target any service.
17 lines (14 loc) • 451 B
TypeScript
import { Location } from './ast';
import { Source } from './source';
import { SourceLocation } from './location';
/**
* Render a helpful description of the location in the GraphQL Source document.
*/
export function printLocation(location: Location): string;
/**
* Render a helpful description of the location in the GraphQL Source document.
*/
export function printSourceLocation(
source: Source,
sourceLocation: SourceLocation,
): string;