Files
klz-cables.com/.pnpm-store/v10/files/2b/dbceff777b23cc85ed8f07024741a51a0956c00bec53eb770d0d3b01360d9cf0cdfd7748ae096e18e3cb91e17a72d8d88e069f3cf907aa59dd243099a9da74
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

8 lines
242 B
Plaintext

import {Options} from '.'
export function validateOptions({maxItems}: Partial<Options>): void {
if (maxItems !== undefined && maxItems < -1) {
throw RangeError(`Expected options.maxItems to be >= -1, but was given ${maxItems}.`)
}
}