Files
klz-cables.com/.pnpm-store/v10/files/2a/208ce1a157871beb21e108efb54c581399b7be558c250d14bfa3446b628c07aafe856ba29d5b26c387fa19b65e9dc6d1dec3abcf77295fa2ae141fdbdaeeeb
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

23 lines
811 B
Plaintext

export {};
// lib.webworker has `WorkerNavigator` rather than `Navigator`, so conditionals use `onabort` instead of `onmessage`
type _Navigator = typeof globalThis extends { onabort: any } ? {} : Navigator;
interface Navigator {
readonly hardwareConcurrency: number;
readonly language: string;
readonly languages: readonly string[];
readonly platform: string;
readonly userAgent: string;
}
declare global {
interface Navigator extends _Navigator {}
var Navigator: typeof globalThis extends { onabort: any; Navigator: infer T } ? T : {
prototype: Navigator;
new(): Navigator;
};
// Needs conditional inference for lib.dom and lib.webworker compatibility
var navigator: typeof globalThis extends { onmessage: any; navigator: infer T } ? T : Navigator;
}