aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@bcoe/v8-coverage/dist/lib/clone.d.ts
blob: a0820325ba0c0cea123034693db0e34fb18bb018 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { FunctionCov, ProcessCov, RangeCov, ScriptCov } from "./types";
/**
 * Creates a deep copy of a process coverage.
 *
 * @param processCov Process coverage to clone.
 * @return Cloned process coverage.
 */
export declare function cloneProcessCov(processCov: Readonly<ProcessCov>): ProcessCov;
/**
 * Creates a deep copy of a script coverage.
 *
 * @param scriptCov Script coverage to clone.
 * @return Cloned script coverage.
 */
export declare function cloneScriptCov(scriptCov: Readonly<ScriptCov>): ScriptCov;
/**
 * Creates a deep copy of a function coverage.
 *
 * @param functionCov Function coverage to clone.
 * @return Cloned function coverage.
 */
export declare function cloneFunctionCov(functionCov: Readonly<FunctionCov>): FunctionCov;
/**
 * Creates a deep copy of a function coverage.
 *
 * @param rangeCov Range coverage to clone.
 * @return Cloned range coverage.
 */
export declare function cloneRangeCov(rangeCov: Readonly<RangeCov>): RangeCov;