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