Files
klz-cables.com/.pnpm-store/v10/files/9f/f28c18f192c98b9401e010ea24d3363a1728e8016faced057142de65805c11ec9e6a97d3db2f13aba7f725932c653f21f96309082408b6e3211915568cf7d5
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
363 B
Plaintext

type StringLiteral<Type> = Type extends string ? (string extends Type ? never : Type) : never;
declare const __OPAQUE_TYPE__: unique symbol;
export type WithOpaque<Token extends string> = {
readonly [__OPAQUE_TYPE__]: Token;
};
export type Opaque<Type, Token extends string> = Token extends StringLiteral<Token> ? Type & WithOpaque<Token> : never;
export {};