How to make a type alias that changes type according to generic parameter type in TypeScript?
Originally Published Here ๐!
To make a type alias that changes the type according to the generic parameter, we can use the angled brackets symbol (<>) after the type alias name and inside the brackets symbol, we can write any name for the generic pa...
melvingeorge-me.hashnode.dev4 min read