This website collects cookies to deliver better user experience

How to make function parameters optional in TypeScript?