UNPKG

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