loading...

CodeSnip: Assign types to deconstructed parameters

twitter logo github logo ・1 min read

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.

Tweet

Snippet

Here's how you assign types to deconstructed parameters in TypeScript functions.

Code Snippet by Kumar Abhirup


About me

I am Kumar Abhirup, a 16-year-old JavaScript React developer from India who keeps learning a new thing every single day.

Connect with me on Twitter 🐦
My personal website and portfolio πŸ–₯️

Do you like such CodeSnip posts? If yes, let me know in the comments section! That'll boost me to make more of these.Β :)

twitter logo DISCUSS
Classic DEV Post from Jun 22 '19

Do you have your own Gatsby site? Let's brainstorm a dev.to cross-poster

I'd love it if my blog posts were automatically sent to dev.to - wouldn't you?

Kumar Abhirup profile image
I am a 16-year-old JavaScript React developer from India who keeps learning a new thing every single day. 😍 Twitter: @kumar_abhirup Website: kumar.now.sh