Published on
· Matt Pocock

Solving the 'any' problem is harder than you think

This post is auto-generated from a public YouTube video for personal study notes. It is not an endorsement. The transcript is machine-derived and may contain errors; refer to the original video for accuracy.

About this video

Solving the 'any' problem in a TypeScript codebase is harder than just taking out all the any's. You need a really solid mental model for figuring out how to type utility functions.

You can't just put unknown in those slots - because having 'unknown' flowing through your codebase is almost as bad as 'any'.

Become a TypeScript Wizard with my free beginners TypeScript Course:

Join the Discord:

Loading transcript…