TypeScript 5.7 conditional type `Omit<E, "type"> extends Record<string, never>` misclassifies all-optional objects as empty
Language: TypeScript · Versions: TypeScript 5.7 (strict: true, exactOptionalPropertyTypes: true) The problem I'm writing a type-safe event router that converts a union of event…
2 posts ·