TypeScript Type Function Callback en la interfaz
interface InputProps {
youCallback: () => void
otherProp: string
}
Fair Fowl
interface InputProps {
youCallback: () => void
otherProp: string
}