UNPKG

typescript-assistant

Version:

Combines and integrates professional Typescript tools into your project

15 lines (14 loc) 449 B
import { Bus, EventType } from "../bus"; import { Git } from "../git"; import { Logger } from "../logger"; export interface Formatter { formatFiles(files: string[] | undefined): Promise<boolean>; verifyFiles(files: string[]): Promise<boolean>; startVerifying(triggers: EventType[]): void; stopVerifying(): void; } export declare function createFormatter(dependencies: { logger: Logger; git: Git; bus: Bus; }): Formatter;