Tanda Tangan Panggilan Lengkap di TS

// shorthand call signature
type Greet = (name: string) => void
//OR
//full call signature 
type Greet = {
  {name: string) => void }
  }

let greet: Greet = (name) =>{
  console.log('My name is ' , name)
};

greet('joyous jackal')  // My name is joyous jackal
Joyous Jackal