File tree 3 files changed +28
-1
lines changed
3 files changed +28
-1
lines changed Original file line number Diff line number Diff line change
1
+ export type Watermark = [ number , number ] ;
2
+
3
+ export declare class Report {
4
+ constructor ( opts : {
5
+ exclude ?: any [ ] ,
6
+ include ?: any [ ] ,
7
+ reporter : string [ ] ,
8
+ reportsDirectory ?: string ,
9
+ tempDirectory ?: string ,
10
+ watermarks ?: Partial < {
11
+ statements : Watermark ;
12
+ functions : Watermark ;
13
+ branches : Watermark ;
14
+ lines : Watermark ;
15
+ } > ,
16
+ omitRelative ?: boolean ,
17
+ wrapperLength ?: number ,
18
+ resolve ?: string ,
19
+ all ?: boolean ,
20
+ } )
21
+
22
+ run ( ) : Promise < void > ;
23
+ }
Original file line number Diff line number Diff line change
1
+ exports . Report = require ( './lib/report' )
Original file line number Diff line number Diff line change 2
2
"name" : " c8" ,
3
3
"version" : " 7.0.1" ,
4
4
"description" : " output coverage reports using Node.js' built in coverage" ,
5
- "main" : " index.js" ,
5
+ "main" : " ./index.js" ,
6
+ "types" : " ./index.d.ts" ,
6
7
"bin" : " ./bin/c8.js" ,
7
8
"repository" : {
8
9
"type" : " git" ,
58
59
"node" : " >=10.12.0"
59
60
},
60
61
"files" : [
62
+ " index.js" ,
63
+ " index.d.ts" ,
61
64
" lib" ,
62
65
" bin" ,
63
66
" LICENSE"
You can’t perform that action at this time.
0 commit comments