File tree Expand file tree Collapse file tree
types/istanbul-lib-instrument Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import * as babelTypes from "babel-types" ;
2+ import { GeneratorOptions } from "babel-generator" ;
23import { FileCoverage , FileCoverageData , Range } from "istanbul-lib-coverage" ;
34import { RawSourceMap } from "source-map" ;
45
@@ -11,6 +12,11 @@ export interface InstrumenterOptions {
1112 produceSourceMap : boolean ;
1213 sourceMapUrlCallback ( filename : string , url : string ) : void ;
1314 debug : boolean ;
15+ coverageGlobalScope ?: string ;
16+ coverageGlobalScopeFunc ?: boolean ;
17+ ignoreClassMethods ?: string [ ] ;
18+ parserPlugins ?: any [ ] ;
19+ generatorOpts ?: GeneratorOptions ;
1420}
1521
1622export type InstrumenterCallback = ( error : Error | null , code : string ) => void ;
Original file line number Diff line number Diff line change 88 ],
99 "dependencies" : {
1010 "@types/babel-types" : " *" ,
11+ "@types/babel-generator" : " *" ,
1112 "@types/istanbul-lib-coverage" : " *" ,
1213 "source-map" : " ^0.6.1"
1314 },
You can’t perform that action at this time.
0 commit comments