How to add properties to function in TypeScript?
Originally Published Here ๐!
To add or attach properties to functions in TypeScript, one of the ways to do is to make a type alias and write the function signature (aka function call signature) and the property with its type you need to attach to th...
melvingeorge-me.hashnode.dev4 min read