Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
12 lines
540 B
Plaintext
12 lines
540 B
Plaintext
import { ErrorLike, ErrorPOJO } from "./types";
|
|
/**
|
|
* Custom JSON serializer for Error objects.
|
|
* Returns all built-in error properties, as well as extended properties.
|
|
*/
|
|
export declare function toJSON<E extends ErrorLike>(this: E): ErrorPOJO & E;
|
|
/**
|
|
* Returns own, inherited, enumerable, non-enumerable, string, and symbol keys of `obj`.
|
|
* Does NOT return members of the base Object prototype, or the specified omitted keys.
|
|
*/
|
|
export declare function getDeepKeys(obj: object, omit?: Array<string | symbol>): Set<string | symbol>;
|