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

Recursive Type Reference Errors

Quiz
22

Declaration File Resolution Failures

Quiz
23

Understanding TSxxxx Error Codes

Quiz
24

Debugging with Source Maps

Quiz
25

Debugging Types with Hover

Quiz
26

Type Widening Surprises

Quiz
27

Anatomy of a TypeScript Error

Quiz
28

Implicit any Errors

Quiz
29

Missing Return Path

Quiz
30

Used Before Assignment

Quiz
31

Argument Mismatch Errors

Quiz
32

Cannot Find Name or Module

Quiz
33

satisfies for Diagnosis

Quiz
34

Type-Checking with tsc --noEmit

Quiz
35

Not Assignable Errors

Quiz
36

Object Possibly Null

Quiz
37

Readonly Assignment Errors

Quiz
38

Reading Nested Error Messages

Quiz
39

Property Does Not Exist

Quiz
40

Structural Type Incompatibility

Quiz
41

Union Type Assignability

Quiz
42

Errors from strict Mode

Quiz
43

Reading Structural Incompatibility Details

Flashcard
44

'Property Does Not Exist' Errors

Flashcard
45

tsc --pretty and Output Formatting

Flashcard
46

Hovering to Inspect Inferred Types

Flashcard
47

Handling Stale Errors in the Editor

Flashcard
48

'Not Assignable to Type' Errors

Flashcard
49

TS Error Codes (TSxxxx)

Flashcard
50

Circular Reference Errors

Flashcard
51

'No Overload Matches This Call'

Flashcard
52

Anatomy of a TS Error Message

Flashcard
53

'Cannot Find Module' Errors

Flashcard
54

'Import Statement Outside a Module'

Flashcard
55

'Argument Not Assignable to Parameter'

Flashcard
56

Debugging Types with Intermediate Aliases

Flashcard
57

'Cannot Find Name' Errors

Flashcard
QuizIntermediate

Errors from strict Mode

Know which behaviors turning on strict mode introduces.

After enabling `"strict": true`, previously clean code now reports null and implicit-any errors. Why?