Files
klz-cables.com/.pnpm-store/v10/files/c0/f72e81df2e41081e4561ff60da4a6ec8e69f1c301db9271f16823abecc278e002d70a3c18737a9adb10af2ad36548e44fdca13ba51748e8add7b8c2440236b
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

54 lines
2.3 KiB
Plaintext

import * as lib from "./lib";
// Re-export the type definitions globally.
declare global {
// eslint-disable-next-line @typescript-eslint/no-empty-interface -- interface to allow module augmentation
interface TrustedHTML extends lib.TrustedHTML {}
// eslint-disable-next-line @typescript-eslint/no-empty-interface -- interface to allow module augmentation
interface TrustedScript extends lib.TrustedScript {}
// eslint-disable-next-line @typescript-eslint/no-empty-interface -- interface to allow module augmentation
interface TrustedScriptURL extends lib.TrustedScriptURL {}
// eslint-disable-next-line @typescript-eslint/no-empty-interface -- interface to allow module augmentation
interface TrustedTypePolicy extends lib.TrustedTypePolicy {}
// eslint-disable-next-line @typescript-eslint/no-empty-interface -- interface to allow module augmentation
interface TrustedTypePolicyFactory extends lib.TrustedTypePolicyFactory {}
// eslint-disable-next-line @typescript-eslint/no-empty-interface -- interface to allow module augmentation
interface TrustedTypePolicyOptions extends lib.TrustedTypePolicyOptions {}
// Attach the relevant Trusted Types properties to the Window object.
// eslint-disable-next-line @typescript-eslint/no-empty-interface -- interface to allow module augmentation
interface Window extends lib.TrustedTypesWindow {}
}
// These are the available exports when using the polyfill as npm package (e.g. in nodejs)
interface InternalTrustedTypePolicyFactory extends lib.TrustedTypePolicyFactory {
TrustedHTML: typeof lib.TrustedHTML;
TrustedScript: typeof lib.TrustedScript;
TrustedScriptURL: typeof lib.TrustedScriptURL;
}
declare const trustedTypes: InternalTrustedTypePolicyFactory;
declare class TrustedTypesEnforcer {
constructor(config: TrustedTypeConfig);
install: () => void;
uninstall: () => void;
}
// tslint:disable-next-line no-unnecessary-class
declare class TrustedTypeConfig {
constructor(
isLoggingEnabled: boolean,
isEnforcementEnabled: boolean,
allowedPolicyNames: string[],
allowDuplicates: boolean,
cspString?: string | null,
windowObject?: Window,
);
}
export { TrustedTypeConfig, TrustedTypePolicy, TrustedTypePolicyFactory, trustedTypes, TrustedTypesEnforcer };