How to add string array type to function return value in TypeScript?
Originally Published Here ๐!
To add string array type to function return value first, declare the function, then add a : symbol (colon) after the parameters opening and closing brackets () and then type the word string followed by [] symbol (opening...
melvingeorge-me.hashnode.dev2 min read