Lab · Intermediate · 30 min
Lab: Find the bug the types missed
Given a module with a runtime bug that loose types allowed, tighten the types until the compiler finds it.
- typescript
- lab
Inside this lab
- A pricing function occasionally returns NaN in production. The types say everything is a number.
- Tasks
- 3
The full lab opens with a membership that covers TypeScript.
Sign in if you already subscribe.
Sign in
