UNPKG

@dooboostore/dom-render

Version:
34 lines 709 B
interface CompilerOptions { compress?: boolean; sourcemap?: boolean | 'generator'; indent?: string; } interface Node { type: string; [key: string]: any; } /** * Base compiler class */ export declare class Compiler { protected options: CompilerOptions; [key: string]: any; /** * Initialize a compiler. */ constructor(opts?: CompilerOptions); /** * Emit `str` */ emit(str: string): string; /** * Visit `node`. */ visit(node: Node): string; /** * Map visit over array of `nodes`, optionally using a `delim` */ mapVisit(nodes: Node[], delim?: string): string; } export {}; //# sourceMappingURL=compiler.d.ts.map