Skip to content

createConventionRenderer()

PromptScript API


createConventionRenderer(convention?): ConventionRenderer

Defined in: formatters/src/convention-renderer.ts:297

Create a convention renderer from a convention name or definition.

Parameters

convention?

string | OutputConvention = 'xml'

Returns

ConventionRenderer