TypeScript practice

Filter by difficulty, use hints, reveal solutions and save attempts locally.

1. Practice TypeScript Introduction by building one step of a type-safe API client wrapper and checking the result.

code-writing
beginnerTypeScript Introduction

1. Start from the TypeScript Introduction lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

2. Practice TypeScript Setup by building one step of a type-safe API client wrapper and checking the result.

code-fix
beginnerTypeScript Setup

1. Start from the TypeScript Setup lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

3. Practice Basic Types by building one step of a type-safe API client wrapper and checking the result.

output
beginnerBasic Types

1. Start from the Basic Types lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

4. Practice Arrays and Tuples by building one step of a type-safe API client wrapper and checking the result.

fill-blank
beginnerArrays and Tuples

1. Start from the Arrays and Tuples lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

5. Practice Enums by building one step of a type-safe API client wrapper and checking the result.

true-false
beginnerEnums

1. Start from the Enums lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

6. Practice Interfaces by building one step of a type-safe API client wrapper and checking the result.

mini-project
beginnerInterfaces

1. Start from the Interfaces lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

7. Practice Type Aliases by building one step of a type-safe API client wrapper and checking the result.

mcq
beginnerType Aliases

1. Start from the Type Aliases lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

8. Practice Union and Intersection Types by building one step of a type-safe API client wrapper and checking the result.

code-writing
beginnerUnion and Intersection Types

1. Start from the Union and Intersection Types lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

9. Practice Functions in TS by building one step of a type-safe API client wrapper and checking the result.

code-fix
beginnerFunctions in TS

1. Start from the Functions in TS lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

10. Practice Classes in TS by building one step of a type-safe API client wrapper and checking the result.

output
beginnerClasses in TS

1. Start from the Classes in TS lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

11. Practice Generics Basics by building one step of a type-safe API client wrapper and checking the result.

fill-blank
intermediateGenerics Basics

1. Start from the Generics Basics lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

12. Practice Generics Advanced by building one step of a type-safe API client wrapper and checking the result.

true-false
intermediateGenerics Advanced

1. Start from the Generics Advanced lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

13. Practice Utility Types by building one step of a type-safe API client wrapper and checking the result.

mini-project
intermediateUtility Types

1. Start from the Utility Types lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

14. Practice Type Assertion by building one step of a type-safe API client wrapper and checking the result.

mcq
intermediateType Assertion

1. Start from the Type Assertion lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

15. Practice Type Guards by building one step of a type-safe API client wrapper and checking the result.

code-writing
intermediateType Guards

1. Start from the Type Guards lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

16. Practice Modules by building one step of a type-safe API client wrapper and checking the result.

code-fix
intermediateModules

1. Start from the Modules lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

17. Practice Decorators by building one step of a type-safe API client wrapper and checking the result.

output
intermediateDecorators

1. Start from the Decorators lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

18. Practice TS with React by building one step of a type-safe API client wrapper and checking the result.

fill-blank
intermediateTS with React

1. Start from the TS with React lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

19. Practice TS with NodeJS by building one step of a type-safe API client wrapper and checking the result.

true-false
intermediateTS with NodeJS

1. Start from the TS with NodeJS lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

20. Practice Compiler Config by building one step of a type-safe API client wrapper and checking the result.

mini-project
intermediateCompiler Config

1. Start from the Compiler Config lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

21. Practice Strict Mode by building one step of a type-safe API client wrapper and checking the result.

mcq
advancedStrict Mode

1. Start from the Strict Mode lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

22. Practice Strict Null Checks by building one step of a type-safe API client wrapper and checking the result.

code-writing
advancedStrict Null Checks

1. Start from the Strict Null Checks lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

23. Practice Index Signatures by building one step of a type-safe API client wrapper and checking the result.

code-fix
advancedIndex Signatures

1. Start from the Index Signatures lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

24. Practice Mapped Types by building one step of a type-safe API client wrapper and checking the result.

output
advancedMapped Types

1. Start from the Mapped Types lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

25. Practice Conditional Types by building one step of a type-safe API client wrapper and checking the result.

fill-blank
advancedConditional Types

1. Start from the Conditional Types lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

26. Practice Template Literal Types by building one step of a type-safe API client wrapper and checking the result.

true-false
advancedTemplate Literal Types

1. Start from the Template Literal Types lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

27. Practice Declaration Files by building one step of a type-safe API client wrapper and checking the result.

mini-project
advancedDeclaration Files

1. Start from the Declaration Files lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

28. Practice Webpack and TS by building one step of a type-safe API client wrapper and checking the result.

mcq
advancedWebpack and TS

1. Start from the Webpack and TS lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

29. Practice TS Best Practices by building one step of a type-safe API client wrapper and checking the result.

code-writing
advancedTS Best Practices

1. Start from the TS Best Practices lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.

30. Practice TypeScript Review by building one step of a type-safe API client wrapper and checking the result.

code-fix
advancedTypeScript Review

1. Start from the TypeScript Review lesson example.

2. Use user types, interface keys and readonly fields instead of placeholder text.

3. Run the example and compare output before polishing.