TypeScript Fundamentals: Learn TypeScript from Scratch
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

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