Outlook_Addin_LLM/node_modules/@jsdevtools/ono/cjs/to-json.d.ts

12 lines
540 B
TypeScript
Raw Permalink Normal View History

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>;