I want to pass the intl object to a function. As type I 'm using: any. What is the right type for intl?
function getLabel: (intl: any, optionSelected: string) => string = (intl, optionSelected) => { ... }
const intl = useIntl();
getLabel(intl, optionSelected)