Learn TypeScript

Quiz

Quiz

This quiz will test what you have learned about TypeScript and its benefits.

1.

Is the following code valid TypeScript?

const firstName = "Bob";
const surname = "Peters";
const fullName = `${firstName} ${surname}`;
2.

Does TypeScript code run directly in the browser?

3.

Is one of the benefits of TypeScript to allow editors to provide accurate intellisense?

4.

When a TypeScript function is renamed, it is possible for the code editor to rename the references to the function automatically?

5.

TypeScript type checks our code, but when can this type checking process take place?

© 2024 Carl Rippon
Privacy Policy
This site uses cookies. Click here to find out more