graphql

Search for an npm package
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;