TS mendeklarasikan jenis fungsi
type GreetFunction = (a: string) => void;
florinrelea
type GreetFunction = (a: string) => void;