How to easily make every property in a type alias or interface to readonly properties in TypeScript?
Originally Published Here ๐!
To easily make every property on a type alias or interface to readonly properties, you can use the Readonly utility type and pass the type alias or interface as the first type argument to it using the angled brackets sym...
melvingeorge-me.hashnode.dev2 min read