23.
What is similar to any, but a safer alternative when uncertain about the type?
null
void
never
unknown
Correct: D
The unknown type in TypeScript is similar to any as it can hold values of any type. However, unlike any, unknown requires type checking before performing any operations on it. This makes unknown a safer alternative when the type is uncertain, as it prevents accidental type errors.