TypeScript: Typing JavaScript with Confidence
Master TypeScript from scratch — typing javascript with confidence.
What you'll learn
By the end you can confidently apply TypeScript at a beginner level: typing javascript with confidence, with real, working code.
Who it's for
Developers learning TypeScript at a beginner level.
Prerequisites
Working JavaScript (ES6).
A structured, hands-on beginner course on TypeScript, taking you from scratch by building a fully-typed task API client.
Curriculum
- 1
Setting Up the TypeScript Environment
4 min - 2
Understanding tsconfig.json
3 min - 3
Basic Primitives and Type Annotations
4 min - 4
Type Inference in Practice
3 min - 5
Defining Object Shapes with Interfaces
3 min - 6
Using Type Aliases
4 min - 7
Handling Optional Properties
3 min - 8
Typing Function Parameters
3 min - 9
Defining Function Return Types
Coming soon - 10
Working with Arrays of Objects
Coming soon - 11
Understanding Void and Undefined
Coming soon - 12
Asynchronous Functions and Promises
Coming soon - 13
Union Types for Flexibility
Coming soon - 14
Literal Types for Status Codes
Coming soon - 15
Type Narrowing with Conditionals
Coming soon - 16
The Typeof Guard
Coming soon - 17
The In Operator for Object Narrowing
Coming soon - 18
Discriminated Unions
Coming soon - 19
Any vs Unknown
Coming soon - 20
Introduction to Generics
Coming soon - 21
Generics with Interfaces
Coming soon - 22
Constraining Generics
Coming soon - 23
Using keyof for Dynamic Access
Coming soon - 24
Indexed Access Types
Coming soon - 25
Partial Utility Type
Coming soon - 26
Pick and Omit Utilities
Coming soon - 27
Type Assertions
Coming soon - 28
Non-Null Assertion Operator
Coming soon - 29
Building the Task API Client: Setup
Coming soon - 30
Typing API Responses
Coming soon - 31
Creating a Generic Request Wrapper
Coming soon - 32
Handling API Errors
Coming soon - 33
Query Parameters with Generics
Coming soon - 34
Implementing GET Requests
Coming soon - 35
Mapping API Data to Local Models
Coming soon - 36
Using DefinitelyTyped
Coming soon - 37
Type declaration files (.d.ts)
Coming soon - 38
Enforcing Strict Null Checks
Coming soon - 39
Exhaustive Switch Statements
Coming soon - 40
Mapped Types
Coming soon - 41
Conditional Types
Coming soon - 42
Inferring Types in Conditionals
Coming soon - 43
Final Refactoring of the Task Client
Coming soon - 44
Testing Type-Safe Code
Coming soon - 45
Managing Environment Variables with Types
Coming soon - 46
Handling Deeply Nested Data
Coming soon