Skip to main content

interface

Contains utilities for printing GraphQL interface types as Markdown documentation.

printCodeInterface()

function printCodeInterface(type, options): string;

Defined in: printer-legacy/src/graphql/interface.ts:23

Generates a code block representation of a GraphQL interface type.

Parameters

type

unknown

The GraphQL interface type to print

options

PrintTypeOptions

Configuration options for printing the type

Returns

string

A string containing the Markdown code block representation