UNPKG

@naturalcycles/ktlint

Version:

ktlint, conveniently published to npm registry

7 lines (6 loc) 292 B
import { SpawnOptions } from 'node:child_process'; export declare function runCommand(command: string, args?: string[], opt?: SpawnOptions): void; /** * Throws error on failure. */ export declare function runCommandSafe(command: string, args?: string[], opt?: SpawnOptions): Promise<void>;