JS

TypeScript Quiz - type of parameter function

16.

Which of the following types is the type of the message parameter in the following function?

function showMessage(message: string | number) {
   console.log(message);
}

object

boolean

number

string