UNPKG

squirrelly

Version:

Lightweight, fast, and powerful JS template engine. Supports helpers, filters, template inheritance

6 lines (5 loc) 359 B
import { SqrlConfig } from './config'; import { AstObject } from './parse'; export default function compileToString(str: string, env: SqrlConfig): string; export declare function compileScopeIntoFunction(buff: Array<AstObject>, res: string, env: SqrlConfig): string; export declare function compileScope(buff: Array<AstObject>, env: SqrlConfig): string;