CodexBloom - AI-Powered Q&A Platform

TypeScript Union Types and Object Literals - Unexpected Type Inference Issue

👀 Views: 0 💬 Answers: 1 📅 Created: 2025-08-21
typescript type-inference union-types

I'm encountering an issue with TypeScript's union types and object literals that leads to unexpected type inference. I have a function that takes a parameter wh...