Course contentsShow
TypeScript
Lesson 250 of 1,7966. FunctionsPro lesson

Optional Parameters with ?

How to mark parameters as optional using the ? syntax and understand their type becomes T | undefined.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.