@dooboostore/dom-render
Version:
html view template engine
24 lines • 593 B
TypeScript
/**
* Module dependencies.
*/
import { CompileResult, CompilerOptions } from './types';
/**
* Stringfy the given AST `node`.
*
* Options:
*
* - `compress` space-optimized output
* - `sourcemap` return an object with `.code` and `.map`
*
* @param {Object} node
* @param {Object} [options]
* @return {String}
* @api public
*/
interface StringifyOptions extends CompilerOptions {
compress?: boolean;
sourcemap?: boolean | 'generator';
}
export default function (node: any, options?: StringifyOptions): string | CompileResult;
export {};
//# sourceMappingURL=index.d.ts.map