UNPKG

477 BTypeScriptView Raw
1import { Liquid, Tag, Value, Emitter, TagToken, TopLevelToken, Context, Template } from '..';
2import { Parser } from '../parser';
3export default class extends Tag {
4 branches: {
5 value: Value;
6 templates: Template[];
7 }[];
8 elseTemplates: Template[] | undefined;
9 constructor(tagToken: TagToken, remainTokens: TopLevelToken[], liquid: Liquid, parser: Parser);
10 render(ctx: Context, emitter: Emitter): Generator<unknown, void, string>;
11}