Skip to content

PromptScript API


Interface: FormatOptions

Defined in: compiler/src/types.ts:18

Options for formatting.

Properties

convention?

optional convention: string | OutputConvention

Defined in: compiler/src/types.ts:20

Output convention to use


outputPath?

optional outputPath: string

Defined in: compiler/src/types.ts:22

Custom output path


version?

optional version: string

Defined in: compiler/src/types.ts:28

Target version or format variant. Use 'legacy' for deprecated formats.

Example

'legacy' | '1.0' | '2.0'