source: frontend/node_modules/@bcoe/v8-coverage/dist/lib/compare.d.ts

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: 795 bytes
RevLine 
[9af201e]1import { FunctionCov, RangeCov, ScriptCov } from "./types";
2/**
3 * Compares two script coverages.
4 *
5 * The result corresponds to the comparison of their `url` value (alphabetical sort).
6 */
7export declare function compareScriptCovs(a: Readonly<ScriptCov>, b: Readonly<ScriptCov>): number;
8/**
9 * Compares two function coverages.
10 *
11 * The result corresponds to the comparison of the root ranges.
12 */
13export declare function compareFunctionCovs(a: Readonly<FunctionCov>, b: Readonly<FunctionCov>): number;
14/**
15 * Compares two range coverages.
16 *
17 * The ranges are first ordered by ascending `startOffset` and then by
18 * descending `endOffset`.
19 * This corresponds to a pre-order tree traversal.
20 */
21export declare function compareRangeCovs(a: Readonly<RangeCov>, b: Readonly<RangeCov>): number;
Note: See TracBrowser for help on using the repository browser.