UNPKG

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