add hw2
This commit is contained in:
14
node_modules/chromium-bidi/lib/esm/utils/DistinctValues.d.ts
generated
vendored
Normal file
14
node_modules/chromium-bidi/lib/esm/utils/DistinctValues.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Returns an array of distinct values. Order is not guaranteed.
|
||||
* @param values - The values to filter. Should be JSON-serializable.
|
||||
* @return - An array of distinct values.
|
||||
*/
|
||||
export declare function distinctValues<T>(values: T[]): T[];
|
||||
/**
|
||||
* Returns a stringified version of the object with keys sorted. This is required to
|
||||
* ensure that the stringified version of an object is deterministic independent of the
|
||||
* order of keys.
|
||||
* @param obj
|
||||
* @return {string}
|
||||
*/
|
||||
export declare function deterministicJSONStringify(obj: unknown): string;
|
||||
Reference in New Issue
Block a user