Explore Library
TypeScriptCommon Errors, Debugging & Compiler Diagnostics

57 items

1

Union Type Mismatch Errors

Flashcard
2

Unused Variable Diagnostics

Quiz
3

Suppressing Errors with @ts-ignore

Slides / Video
4

Compiler Flags for Better Diagnostics

Slides / Video
5

Using the TypeScript Language Server

Slides / Video
6

Debugging with Source Maps

Slides / Video
7

Missing Type Declarations for Libraries

Slides / Video
8

Function Argument Count Errors

Slides / Video
9

Excess Property Checks in Object Literals

Slides / Video
10

Implicit 'any' Errors Explained

Slides / Video
11

Cannot Find Name or Module Errors

Slides / Video
12

Object is Possibly Null Errors

Slides / Video
13

Property Does Not Exist on Type

Slides / Video
14

Not Assignable To Type Errors

Slides / Video
15

TypeScript Error Codes Explained

Slides / Video
16

Reading TypeScript Error Messages

Slides / Video
17

Handling Strict Null Check Errors

Slides / Video
18

Inspecting Inferred Types with Hover

Slides / Video
19

Circular Type Reference Errors

Slides / Video
20

Type vs Value Space Confusion

Slides / Video
21

Errors from strict Mode

Quiz
22

Argument Mismatch Errors

Quiz
23

Anatomy of a TypeScript Error

Quiz
24

Understanding TSxxxx Error Codes

Quiz
25

Not Assignable Errors

Quiz
26

Object Possibly Null

Quiz
27

Property Does Not Exist

Quiz
28

Implicit any Errors

Quiz
29

Cannot Find Name or Module

Quiz
30

Reading Nested Error Messages

Quiz
31

Used Before Assignment

Quiz
32

Missing Return Path

Quiz
33

Debugging Types with Hover

Quiz
34

Debugging with Source Maps

Quiz
35

Type Widening Surprises

Quiz
36

Readonly Assignment Errors

Quiz
37

Structural Type Incompatibility

Quiz
38

Union Type Assignability

Quiz
39

Recursive Type Reference Errors

Quiz
40

Declaration File Resolution Failures

Quiz
41

Type-Checking with tsc --noEmit

Quiz
42

satisfies for Diagnosis

Quiz
43

'Not Assignable to Type' Errors

Flashcard
44

Anatomy of a TS Error Message

Flashcard
45

tsc --pretty and Output Formatting

Flashcard
46

Circular Reference Errors

Flashcard
47

Reading Structural Incompatibility Details

Flashcard
48

'Cannot Find Module' Errors

Flashcard
49

TS Error Codes (TSxxxx)

Flashcard
50

'No Overload Matches This Call'

Flashcard
51

'Cannot Find Name' Errors

Flashcard
52

'Property Does Not Exist' Errors

Flashcard
53

Hovering to Inspect Inferred Types

Flashcard
54

Handling Stale Errors in the Editor

Flashcard
55

Debugging Types with Intermediate Aliases

Flashcard
56

'Import Statement Outside a Module'

Flashcard
57

'Argument Not Assignable to Parameter'

Flashcard
QuizIntermediate

Recursive Type Reference Errors

Understand circular type alias reference errors.

`type A = A;` produces "Type alias 'A' circularly references itself." Why is a valid recursive type like a tree different?