Question about converting type to interface and type constraints
Question about interfaces. I tried converting a type of mine to an interface for readability, performance and I guess other useful pros michael stated already, but I can't pass such interface to a type constraint of
So this is what I have. What's missing? If I replace
Record<string, unknown> anymore, due to "it's lacking index type signature".So this is what I have. What's missing? If I replace
unknown with any it works.
