TypeScript: How to correctly infer types for a dynamic configuration object in a library?
👀 Views: 2
💬 Answers: 1
📅 Created: 2025-06-09
typescript type-inference configuration
I'm working on a TypeScript library that allows users to pass a dynamic configuration object. However, I'm struggling with how to infer types based on certain k...