printLocation.d.ts 481 B

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