Generic type for TypeScript enums. I admit I'm still not entirely clear as to how or why this works the way it does. There's an element of recursivity that feels like black magic.
Generic type for TypeScript enums. I admit I'm still not entirely clear as to how or why this works the way it does. There's an element of recursivity that feels like black magic.