UNPKG

@types/graphql

Version:

TypeScript definitions for graphql

8 lines (7 loc) 314 B
/** * Produces the value of a block string from its parsed raw value, similar to * Coffeescript's block string, Python's docstring trim or Ruby's strip_heredoc. * * This implements the GraphQL spec's BlockStringValue() static algorithm. */ export default function blockStringValue(rawString: string): string;