UNPKG

typecov

Version:

Track type coverage in TypeScript projects to ensure type safety

15 lines (14 loc) 752 B
import { Options } from "./types"; import { CodeChecksReportStatus } from "@codechecks/client"; interface FormatShortDescriptionArgs { coverageDiffPerc: number; headTypeCoveragePerc: number; newUntypedSymbols: number; baseReportExisted: boolean; } export declare function formatShortDescription({ coverageDiffPerc, headTypeCoveragePerc, newUntypedSymbols, baseReportExisted, }: FormatShortDescriptionArgs): string; export declare function floor(n: number, precision?: number): number; export declare function perc(n: number, precision?: number): string; export declare function renderSign(value: number): string; export declare function getDescriptionAboutThreshold(options: Options, status: CodeChecksReportStatus): string; export {};