UNPKG

release-checker

Version:
25 lines (24 loc) 646 B
export interface Checker { canRun: () => boolean; cliOption: string; errors: ValidationError[]; hasErrors: boolean; hasWarnings: boolean; id: string; run: () => Array<ValidationError | ValidationWarning>; shortCliOption: string; statusToDisplayWhileValidating: string; warnings: ValidationWarning[]; whyCannotRun: () => string; } declare const noopChecker: Checker; export declare type CheckerProps = keyof typeof noopChecker; export interface ValidationError { reason: string; severity: 'error'; } export interface ValidationWarning { reason: string; severity: 'warning'; } export {};