On this page

printWithComments

The printWithComments function exported by @graphql-tools/utils.

printWithComments(ast): string

Defined in: packages/utils/src/comments.ts:442

Converts an AST into a string, using one set of reasonable formatting rules.

Parameters

ast

ASTNode

Returns

string