Case File: A Typed Client
Write the single helper the mobile app uses to call the API: it returns a typed Result that is either data or an error, retries when the server is busy or the network drops, tells not found from server errors from bad data, and lets the compiler force callers to check before they use the data. Real TypeScript, with a fake fetcher driving it. Generated for you alone.
Case File: A Typed Client
Write the single helper the mobile app uses to call the API: it returns a typed Result that is either data or an error, retries when the server is busy or the network drops, tells not found from server errors from bad data, and lets the compiler force callers to check before they use the data. Real TypeScript, with a fake fetcher driving it. Generated for you alone.
In this lesson:
- typescript
- api-client
- result-type
- retry
- discriminated-union
- generics
- error-handling
- case-file
This lesson is part of a paid plan
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans