This is a very small post.
I'll be writing many such posts to enlighten new developers a little by using simple Code Snippets.
Such writeups will be small and will yet teach a lot.
Here's how you assign types to deconstructed parameters in TypeScript functions.
Do you like such CodeSnip posts? If yes, let me know in the comments section! That'll boost me to make more of these. :)