TypeScript Advanced

🏷️ Basic
🆓 100% Free Certificate 26 Questions 13 minutes 1 Views

This test evaluates your advanced knowledge of TypeScript, covering decorators, advanced generics, type guards, utility types, and integration with modern frameworks like Angular or React. To master advanced TypeScript, explore Advanced Types in TypeScript Handbook, learn from Telerik’s Advanced TypeScript Guide, and watch this detailed Advanced TypeScript Course on YouTube.

1 What is a mapped type modifier in TypeScript?
2 How do you create a recursive type in TypeScript?
3 What is a template literal type in TypeScript?
4 How do you create a type that extracts all function types from an object?
5 What is a type predicate in TypeScript?
6 How do you create a type that makes all properties mutable?
7 What is a conditional type in TypeScript?
8 How do you create a type that removes 'readonly' modifiers?
9 What is a distributive conditional type?
10 How do you create a type that gets the return type of a function?
11 What is a type query in TypeScript?
12 How do you create a type that makes all properties optional and nullable?
13 What is a type assertion in TypeScript?
14 How do you create a type that removes 'null' and 'undefined' from a type?
15 What is a type parameter constraint?
16 How do you create a type that gets the constructor parameters of a class?
17 What is a type predicate with assertion?
18 How do you create a type that gets the instance type of a constructor?
19 What is a recursive type alias?
20 How do you create a type that gets all required properties of a type?
21 What is a type-only import/export?
22 How do you create a type that gets all optional properties of a type?
23 What is a type-only field declaration?
24 How do you create a type that makes all properties mutable and required?
25 What is a type-level if-else in TypeScript?
26 How do you create a type that gets all method names of a class?