Files
klz-cables.com/.pnpm-store/v10/files/6c/a694be40bf606b790becfcaaf3d4256a3e6dc93021cbdf96464eab594f089850fc64f27889807e5e4df2706c8526b7c6c5c87761ec7ac5f9746282bf2f39bb
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

19 lines
1010 B
Plaintext

//#region src/types/globals.d.ts
type FetchInterface = (input: string | any, init?: RequestInit | any) => Promise<unknown>;
type UrlInterface = typeof URL;
/** While the standard says 'string | URL' for the 'url' parameter, some implementations (e.g. React Native) only accept 'string' */
type WebSocketConstructor = {
new (url: string, protocols?: string | string[]): WebSocketInterface;
};
type WebSocketInterface = {
readonly readyState: number;
addEventListener(type: string, listener: (this: WebSocketInterface, ev: any) => any): void;
removeEventListener(type: string, listener: (this: WebSocketInterface, ev: any) => any): void;
send(data: string): void;
close(code?: number, reason?: string): void;
};
type LogLevels = 'log' | 'info' | 'warn' | 'error';
type ConsoleInterface = { [level in LogLevels]: (...args: any) => any };
//#endregion
export { ConsoleInterface, FetchInterface, LogLevels, UrlInterface, WebSocketConstructor, WebSocketInterface };
//# sourceMappingURL=globals.d.cts.map