# LegacyFormatter

[**PromptScript API**](https://getpromptscript.dev/api-reference/index.md)

***

# Type Alias: LegacyFormatter

> **LegacyFormatter** = `Omit`\<[`Formatter`](https://getpromptscript.dev/api-reference/compiler/src/interfaces/Formatter/index.md), `"formatCanonical"`\>

Defined in: [compiler/src/types.ts:110](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/compiler/src/types.ts#L110)

Legacy formatter contract retained for compatibility with existing targets.