Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

TypeScript Fundamentals

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Functions: Parameter Destructuring, Void, and Optional Params in TypeScript

In this lesson we learn more about working with functions in TypeScript including:

  • using object destructuring for function params
  • using void for functions with no return
  • and making params optional