UNPKG

397 BTypeScriptView Raw
1import type { Context } from '../context';
2import type { Liquid } from '../liquid';
3export interface FilterImpl {
4 context: Context;
5 liquid: Liquid;
6}
7export type FilterHandler = (this: FilterImpl, value: any, ...args: any[]) => any;
8export interface FilterOptions {
9 handler: FilterHandler;
10 raw: boolean;
11}
12export type FilterImplOptions = FilterHandler | FilterOptions;