Explore Library
TypeScriptIntroduction & Core Concepts

54 items

1

Primitive Type Annotations

Quiz
2

Static Typing vs Dynamic Typing

Slides / Video
3

The unknown Type

Code Quiz
4

Type Inference on Declarations

Code Quiz
5

Type Aliases with type Keyword

Code Quiz
6

The any Type

Code Quiz
7

Function Return Type Annotation

Code Quiz
8

The void Type

Code Quiz
9

Optional and Default Parameters

Code Quiz
10

Type Assertions with as

Code Quiz
11

Literal Types

Code Quiz
12

Array Type Annotations

Code Quiz
13

Tuple Types

Code Quiz
14

null and undefined Types

Code Quiz
15

Enums

Code Quiz
16

TypeScript vs JavaScript Compilation

Code Quiz
17

Union Types

Code Quiz
18

Object Type Annotations

Code Quiz
19

Primitive Type Annotations

Code Quiz
20

Compile-time vs Runtime Error Detection

Slides / Video
21

Type Inference in TypeScript

Slides / Video
22

The any Type and Its Implications

Slides / Video
23

Primitive Types in TypeScript

Slides / Video
24

Type Annotations for Variables

Slides / Video
25

tsconfig.json Basics

Slides / Video
26

Setting Up TypeScript

Slides / Video
27

Benefits of Static Typing

Quiz
28

Compile-time Versus Runtime Checking

Quiz
29

void, null, and undefined Types

Quiz
30

The TypeScript Compiler tsc

Quiz
31

TypeScript File Extensions

Quiz
32

Type Inference Basics

Quiz
33

TypeScript and JavaScript Relationship

Quiz
34

Array Type Annotations

Quiz
35

The tsconfig.json File

Quiz
36

TypeScript Compilation to JavaScript

Quiz
37

The any Type

Quiz
38

unknown Versus any

Quiz
39

Variable Declaration with Annotations

Quiz
40

Why Use TypeScript

Flashcard
41

Type Annotations Syntax

Flashcard
42

File Extensions .ts and .tsx

Flashcard
43

Installing TypeScript with npm

Flashcard
44

Type Inference Basics

Flashcard
45

The TypeScript Compiler (tsc)

Flashcard
46

TypeScript Compiles to JavaScript

Flashcard
47

Static vs Dynamic Typing

Flashcard
48

Compile-time vs Runtime Checking

Flashcard
49

What TypeScript Is

Flashcard
50

The 'any' Type

Flashcard
51

Primitive Types

Flashcard
52

tsconfig.json Basics

Flashcard
53

How TypeScript Compiles to JavaScript

Slides / Video
54

TypeScript and JavaScript Relationship

Slides / Video
Code QuizBeginner

Union Types

Identify a value that falls outside a union type.

Codetypescript
let id: string | number = true;
console.log(id);

What is the bug in this code?