This website collects cookies to deliver better user experience

How to set types or function type expression for a function in TypeScript?