@softwareventures/maintain-project
Version:
Automatically create and maintain TypeScript projects with standard settings for Software Ventures Limited
10 lines (9 loc) • 559 B
TypeScript
import type { ProjectSource } from "../project/project.js";
import type { Result } from "../result/result.js";
export type PrettierFixResult = Result<PrettierFixFailureReason>;
export interface PrettierFixFailureReason {
readonly type: "prettier-fix-failed";
readonly path: string;
}
export declare function prettierFixFiles(project: ProjectSource, relativePaths: readonly string[]): Promise<PrettierFixResult>;
export declare function prettierFixFilesIfAvailable(project: ProjectSource, relativePaths: readonly string[]): Promise<PrettierFixResult>;