TypeScript Tipe Fungsi Callback di Antarmuka
interface InputProps {
youCallback: () => void
otherProp: string
}
Fair Fowl
interface InputProps {
youCallback: () => void
otherProp: string
}