Files
klz-cables.com/.pnpm-store/v10/files/54/6744b929413fe020f6bd7d64ddb387df98d0446b785bc88334f21b0245e1e94fbd1d0afce7dadb90f7147daf1dd09200f642759910c6d675c298f69a2fff23
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

15 lines
539 B
Plaintext

export interface FilterOptionOption<Option> {
readonly label: string;
readonly value: string;
readonly data: Option;
}
interface Config<Option> {
readonly ignoreCase?: boolean;
readonly ignoreAccents?: boolean;
readonly stringify?: (option: FilterOptionOption<Option>) => string;
readonly trim?: boolean;
readonly matchFrom?: 'any' | 'start';
}
export declare const createFilter: <Option>(config?: Config<Option> | undefined) => (option: FilterOptionOption<Option>, rawInput: string) => boolean;
export {};