aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@bcoe/v8-coverage/dist/lib/clone.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@bcoe/v8-coverage/dist/lib/clone.d.ts')
-rw-r--r--node_modules/@bcoe/v8-coverage/dist/lib/clone.d.ts29
1 files changed, 29 insertions, 0 deletions
diff --git a/node_modules/@bcoe/v8-coverage/dist/lib/clone.d.ts b/node_modules/@bcoe/v8-coverage/dist/lib/clone.d.ts
new file mode 100644
index 0000000..a082032
--- /dev/null
+++ b/node_modules/@bcoe/v8-coverage/dist/lib/clone.d.ts
@@ -0,0 +1,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;