UNPKG

@mistweaverco/cli-html

Version:

Convert HTML to CLI output with TypeScript support

12 lines (11 loc) 418 B
import { HTMLNode, GlobalConfig, RenderResult } from '../../types'; export interface InlineTagResult extends RenderResult { pre: string | null; post: string | null; type: 'inline'; nodeName: string; value: string; } type WrapperFunction = (value: string) => string; export declare const inlineTag: (wrapper?: WrapperFunction) => (tag: HTMLNode, config: GlobalConfig) => InlineTagResult; export {};