printLocation.d.ts 480 B

1234567891011121314
  1. import type { Location } from './ast';
  2. import type { SourceLocation } from './location';
  3. import type { Source } from './source';
  4. /**
  5. * Render a helpful description of the location in the GraphQL Source document.
  6. */
  7. export declare function printLocation(location: Location): string;
  8. /**
  9. * Render a helpful description of the location in the GraphQL Source document.
  10. */
  11. export declare function printSourceLocation(
  12. source: Source,
  13. sourceLocation: SourceLocation,
  14. ): string;