What will be the output of the following code?
type ID = string | number; let userID: ID = 42;
42
"42"
undefined
Compilation erro
This question is part of this quiz :