|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
680 bytes
|
| Line | |
|---|
| 1 | /// <reference types="node" />
|
|---|
| 2 |
|
|---|
| 3 | import { Profiler } from 'inspector'
|
|---|
| 4 | import { CoverageMapData } from 'istanbul-lib-coverage'
|
|---|
| 5 | import { RawSourceMap } from 'source-map'
|
|---|
| 6 |
|
|---|
| 7 | declare type Sources =
|
|---|
| 8 | | {
|
|---|
| 9 | source: string
|
|---|
| 10 | }
|
|---|
| 11 | | {
|
|---|
| 12 | source: string
|
|---|
| 13 | originalSource: string
|
|---|
| 14 | sourceMap: { sourcemap: RawSourceMap }
|
|---|
| 15 | }
|
|---|
| 16 | declare class V8ToIstanbul {
|
|---|
| 17 | load(): Promise<void>
|
|---|
| 18 | destroy(): void
|
|---|
| 19 | applyCoverage(blocks: ReadonlyArray<Profiler.FunctionCoverage>): void
|
|---|
| 20 | toIstanbul(): CoverageMapData
|
|---|
| 21 | }
|
|---|
| 22 |
|
|---|
| 23 | declare function v8ToIstanbul(scriptPath: string, wrapperLength?: number, sources?: Sources, excludePath?: (path: string) => boolean): V8ToIstanbul
|
|---|
| 24 |
|
|---|
| 25 | export = v8ToIstanbul
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.