Programming Medium

JavaScript: TypeScript Basics

TypeScript adds static typing on top of JavaScript, catching entire categories of bugs before your code ever runs. This quiz tests the fundamentals every TypeScript beginner needs.

Questions cover type annotations, the primitive types, the any type, function signatures with typed parameters and return values, and how the TypeScript compiler (tsc) turns your code into plain JavaScript.

New to TypeScript, or just want to confirm the basics stuck? This quiz covers exactly that.

Start quiz → Opens in a new tab on Cletica
Sample questions3 of 14 shown
Q1
What is TypeScript?
Q2
Which command is used to compile TypeScript files to JavaScript?
Q3
How do you explicitly declare a variable with a specific type in TypeScript?
Answer all 14 questions on Cletica →

What This Quiz Covers

Cletica

Want to create your own quiz?

Build surveys and quizzes, share with anyone, collect responses — free to start.

Try Cletica for free →