What is the question mark for in a Typescript parameter name

It is to mark the parameter as optional.

Leave a Comment