Тип типов функции обратный вызов в интерфейсе
interface InputProps {
youCallback: () => void
otherProp: string
}
Fair Fowl
interface InputProps {
youCallback: () => void
otherProp: string
}