Get your own Node server
greet function:
Return value: Hello, Bob!
Return type: string

add function:
Return value: 8
Return type: number

getValue function with key='name':
Return value: Alice
Return type: string

getValue function with key='age':
Return value: 42
Return type: number

In TypeScript, getValue would have a return type of 'string | number'