tcmts.cli.fmt

FMT_CONFIG "fmt.config"
The path a codebase's formatting options are a definition at.
formatStored (cb: Codebase, hashes: string[]) => { formatted: string[]; unchanged: number; skipped: string[]; }
Reformat stored definitions: each component is rendered as it's stored (identifiers as written), formatted, analyzed again, and its new text kept only where the hash is the same. Returns what changed.
formatText (cb: Codebase, text: string, fileName: string) => string | undefined
`text` formatted as a file named like `fileName` (`.ts`, `.tsx`); undefined if oxfmt can't parse it.
formatter (cb: Codebase) => { bin: string; config: string; }
oxfmt and the configuration file for the codebase's options.