How to create dynamic type/interface in typescript (Generic Types)
Generic types are very useful when we want to create a reusable type/interface that can be changed based on the type parameter we sent.
Example:
In this case, we play a role as a frontend dev and we need to create an interface for API that has the fo...
farisphp.hashnode.dev2 min read