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

Not Assignable Errors

Quiz
22

Argument Mismatch Errors

Quiz
23

Debugging Types with Hover

Quiz
24

Missing Return Path

Quiz
25

Used Before Assignment

Quiz
26

Reading Nested Error Messages

Quiz
27

Cannot Find Name or Module

Quiz
28

Implicit any Errors

Quiz
29

Property Does Not Exist

Quiz
30

Object Possibly Null

Quiz
31

Anatomy of a TypeScript Error

Quiz
32

Understanding TSxxxx Error Codes

Quiz
33

satisfies for Diagnosis

Quiz
34

Type-Checking with tsc --noEmit

Quiz
35

Declaration File Resolution Failures

Quiz
36

Recursive Type Reference Errors

Quiz
37

Union Type Assignability

Quiz
38

Errors from strict Mode

Quiz
39

Structural Type Incompatibility

Quiz
40

Readonly Assignment Errors

Quiz
41

Type Widening Surprises

Quiz
42

Debugging with Source Maps

Quiz
43

'No Overload Matches This Call'

Flashcard
44

'Import Statement Outside a Module'

Flashcard
45

Debugging Types with Intermediate Aliases

Flashcard
46

Handling Stale Errors in the Editor

Flashcard
47

Circular Reference Errors

Flashcard
48

TS Error Codes (TSxxxx)

Flashcard
49

'Argument Not Assignable to Parameter'

Flashcard
50

Hovering to Inspect Inferred Types

Flashcard
51

'Property Does Not Exist' Errors

Flashcard
52

'Cannot Find Name' Errors

Flashcard
53

'Not Assignable to Type' Errors

Flashcard
54

Anatomy of a TS Error Message

Flashcard
55

tsc --pretty and Output Formatting

Flashcard
56

'Cannot Find Module' Errors

Flashcard
57

Reading Structural Incompatibility Details

Flashcard
QuizIntermediate

Cannot Find Name or Module

Distinguish 'Cannot find name' from 'Cannot find module' errors.

You see "Cannot find name 'process'" in a Node.js file. What most commonly resolves it?