In this lesson, we finish building our lesson endpoint by adding in all of the appropriate types.
We spend some time refining our types and moving them to a separate /types directory. This lets us use our types on both the server routes and in our composables (and anywhere else, really).
We also see how we can create a global TypeScript utility type — Maybe
18 lessons
7 lessons
7 lessons
11 lessons
18 lessons
8 lessons
17 lessons