UNPKG

eta

Version:

Lightweight, fast, and powerful embedded JS template engine

9 lines 345 B
import type { EtaConfig } from './config'; export declare type TagType = 'r' | 'e' | 'i' | ''; export interface TemplateObject { t: TagType; val: string; } export declare type AstObject = string | TemplateObject; export default function parse(str: string, config: EtaConfig): Array<AstObject>; //# sourceMappingURL=parse.d.ts.map