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)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…