@parischap/pretty-print
Version:
A functional library to pretty-print and treeify objects
23 lines • 867 B
TypeScript
/**
* This module implements a Type that builds a MarkShower (see MarkShower.ts) from an Option (see
* Option.ts) and a markName
*/
import { MTypes } from '@parischap/effect-lib';
import * as PPMarkShower from './MarkShower.js';
import type * as PPOption from './Option.js';
/**
* Type of a MarkShowerConstructor
*
* @category Models
*/
export interface Type extends MTypes.OneArgFunction<string, PPMarkShower.Type> {
}
/**
* Creates a MarkShowerConstructor that will return a MarkShower from `markName` and `option`.
* Concretely, this markShower will display the text attached to markName in option.markMap using
* the reversed action of the ValueBasedContextStyler attached to markName in option.markMap
*
* @category Constructors
*/
export declare const fromOption: (option: PPOption.Type) => Type;
//# sourceMappingURL=MarkShowerConstructor.d.ts.map