UNPKG

liquidjs

Version:

A simple, expressive, extensible Liquid template engine for JavaScript — Shopify, Jekyll and GitHub Pages compatible, for Node.js, browsers, and the CLI, with TypeScript support.

16 lines (15 loc) 561 B
import { Context } from '../context'; import { FilterImplOptions } from './filter-impl-options'; import { FilterArg } from '../parser/filter-arg'; import { Liquid } from '../liquid'; import { FilterToken } from '../tokens'; export declare class Filter { name: string; args: FilterArg[]; readonly raw: boolean; private handler; private liquid; private token; constructor(token: FilterToken, options: FilterImplOptions | undefined, liquid: Liquid); render(value: any, context: Context): IterableIterator<unknown>; }