jsoneo
Version:
A powerful JSON enhancement library that supports all JSON primitives, Date, RegExp, Symbol, Functions, Map, Set, TypedArray and much more! Almost everything in JavaScript.
10 lines (9 loc) • 403 B
TypeScript
/**
* Expands the prototype chain of the source object, including all properties from the prototype
* chain.
*
* @param source - The source object to expand.
* @param options - Options to control the expansion behavior.
*/
import type { ExpandPrototypeChainOptions } from '../types';
export declare function expandPrototypeChain(source: any, options?: ExpandPrototypeChainOptions): typeof source;