Loading
Current section: 5. Functions 7 exercises
Problem

Type Inference

Loading exercise

Transcript

00:00 Sweet. So in this one, we're going to understand type inference. TypeScript is actually pretty good at understanding the types of your functions that you're expecting or at least the return types. The input types, no, not so much. You you typically want to, explicitly type the inputs, but you can do some pretty cool things with type inference on the return types.

00:19 And, we're also gonna look a little bit about how TypeScript kinda helps us avoid some, issues with some of our types as well. So, jump into this one. We'll see you when you're done.