How to create dynamic type/interface in typescript (Generic Types)
Feb 27, 2023 ยท 2 min read ยท 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...
Join discussion