Skip to main content

format_ts

Function format_ts 

Source
pub fn format_ts(
    root: &Path,
    files: &[String],
    check: bool,
) -> Result<FormatOutcome>
Expand description

Format JS/TS/JSON/CSS files via Biome (preferring biome over bunx --bun biome).

§Errors

Never — failures are reported via FormatOutcome::Failed(stderr).