From 5d309ff52cd399a6b71968a6b9a70c8ac0b98981 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sat, 5 Mar 2022 19:02:27 +0200 Subject: Added node_modules for the updating to work properly. --- node_modules/v8-to-istanbul/index.d.ts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 node_modules/v8-to-istanbul/index.d.ts (limited to 'node_modules/v8-to-istanbul/index.d.ts') diff --git a/node_modules/v8-to-istanbul/index.d.ts b/node_modules/v8-to-istanbul/index.d.ts new file mode 100644 index 0000000..3470f4e --- /dev/null +++ b/node_modules/v8-to-istanbul/index.d.ts @@ -0,0 +1,25 @@ +/// + +import { Profiler } from 'inspector' +import { CoverageMapData } from 'istanbul-lib-coverage' +import { RawSourceMap } from 'source-map' + +declare type Sources = + | { + source: string + } + | { + source: string + originalSource: string + sourceMap: { sourcemap: RawSourceMap } + } +declare class V8ToIstanbul { + load(): Promise + destroy(): void + applyCoverage(blocks: ReadonlyArray): void + toIstanbul(): CoverageMapData +} + +declare function v8ToIstanbul(scriptPath: string, wrapperLength?: number, sources?: Sources, excludePath?: (path: string) => boolean): V8ToIstanbul + +export = v8ToIstanbul -- cgit v1.2.3