The Type System

Complete this assessment with 100% score to master this chapter.

01Which type represents values that 'never' occur, such as a function that always throws an error?

02What is the main difference between 'any' and 'unknown'?

03How do you define a 'Tuple' that contains a string and then a number?

04What does the 'void' return type signify in a function?

05With 'strictNullChecks' enabled, what happens if you try to assign null to a variable typed as 'string'?