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!

Using Interfaces in TypeScript

In this lesson we use our interfaces in order to make the input and output of a purchaseItem function predictable.