1// shorthand call signature
2type Greet = (name: string) => void
3//OR
4//full call signature
5type Greet = {
6 {name: string) => void }
7 }
8
9let greet: Greet = (name) =>{
10 console.log('My name is ' , name)
11};
12
13greet('joyous jackal') // My name is joyous jackal