Which type to use for rest parameter in a function in TypeScript?
Originally Published Here ๐!
Rest parameter is written after all the other parameters in a function and uses the ... (three-dot syntax) syntax. The rest parameter is an array and should have an associated type associated with the array in Typescript...
melvingeorge-me.hashnode.dev2 min read