UNPKG

687 BTypeScriptView Raw
1export type Watermark = [number, number];
2
3export declare class Report {
4 constructor(opts: {
5 exclude?: string | string[],
6 excludeAfterRemap?: boolean,
7 include?: string | string[],
8 reporter: string[],
9 reportsDirectory?: string,
10 tempDirectory?: string,
11 watermarks?: Partial<{
12 statements: Watermark;
13 functions: Watermark;
14 branches: Watermark;
15 lines: Watermark;
16 }>,
17 omitRelative?: boolean,
18 wrapperLength?: number,
19 resolve?: string,
20 all?: boolean,
21 src?: Array<string>,
22 allowExternal?: boolean
23 })
24 run(): Promise<void>;
25}