index.d.ts 756 B

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