@parischap/pretty-print
Version:
A functional library to pretty-print and treeify objects
29 lines • 993 B
TypeScript
/** Type that is an alias for an array of Value's (see Value.ts). */
import type * as PPOption from './Option.js';
import * as PPValue from './Value.js';
/**
* Type of a Values
*
* @category Models
*/
export interface Type extends ReadonlyArray<PPValue.All> {
}
/**
* Builds a Values from the keys of a non-primitive value and its prototypes
*
* @category Constructors
*/
export declare const fromProperties: (maxPrototypeDepth: number) => (nonPrimitive: PPValue.NonPrimitive) => Type;
/**
* Builds a Values from an iterable non-primitive value returning a value iterator
*
* @category Constructors
*/
export declare const fromValueIterable: (nonPrimitive: PPValue.NonPrimitive) => Type;
/**
* Builds a Values from an iterable non-primitive value returning a key/value iterator
*
* @category Constructors
*/
export declare const fromKeyValueIterable: (stringifier: PPOption.Stringifier.Type) => (nonPrimitive: PPValue.NonPrimitive) => Type;
//# sourceMappingURL=Values.d.ts.map