cspell
Version:
A Spelling Checker for Code!
19 lines (18 loc) • 671 B
TypeScript
import { LinterCliOptions } from "./options-ChaXtdFn.js";
import { Command } from "commander";
//#region src/util/errors.d.ts
declare class CheckFailed extends Error {
readonly exitCode: string;
constructor(message: string, exitCode?: number);
}
declare class ApplicationError extends Error {
readonly exitCode: string;
readonly cause?: number;
constructor(message: string, exitCode?: number, cause?: Error | undefined);
}
//#endregion
//#region src/app.d.mts
declare function run(command?: Command, argv?: string[]): Promise<void>;
//#endregion
export { ApplicationError, CheckFailed, type LinterCliOptions as Options, run };
//# sourceMappingURL=app.d.ts.map