TypeScript Special Types: => any: using (any) disables type checking and defeats the purpose of using typescript. => unknown: using (unknown) signifies that the value expected can be of any type. It can be of string type, can be a boolean value, or it can be of a number type.
1
0
10
432
0
=> never: using (never) means that the code never reaches the part where any value is returned. So, In short....
If line number 2 has some throw exception like command written and line number 3 has return written, the code will never even reach line number 3 and so it will not be able to return any value at all.