Marcel Laverdet·Oct 26, 2023TypeScript safe upcast — `satisfies … as …`In TypeScript sometimes we need the as type operator to massage something which we know is allowed by the runtime, but the type system is…