Type narrowing for object key and value generic arguments (narrowing doesn’t work)
I’m trying to understand what’s wrong in this code and why TypeScript doesn’t narrow type for ‘value’ argument.
I’m trying to understand what’s wrong in this code and why TypeScript doesn’t narrow type for ‘value’ argument.