Highlights
- Introduction to TypeScript - Installation - Configuration - Compiling Typescript
- Basic Types
- claration Merging - Functions and Literal Types
- Tuples, Enums, Classes and Generics
- Further Typing
- Classes
- Tips and Tricks
- Modules and Namespaces
- Generics
- Working with TypeScript
- Configuration and project structure
- Async Patterns in TS
- ES2015-2020 TypeScript features
- Type Declarations
- Advanced Type
A short Typescript debugging video from Typescript training course:
Course Details
Introduction to TypeScript
- Installation
- Configuration
- Compiling Typescript
-
Installation and plain usage
-
Project Setup
-
Testing
-
Babel integration
-
Babel two-step compile
-
Compiler options and optimisations
-
Linting config
-
Upgrade paths
- Basic Types
-
String, Number and Array types
-
Null and Undefined
-
Any, Never, Unknown, Void
-
Enums
-
Objects
- Declaration Merging
- Functions and Literal Types
-
Interfaces vs. Literal Types
-
Required, optional and readonly
-
Function Overloading
- Unions and Intersection Types
-
Building types with Unions
-
Unions vs. Enums
-
Extending types with intersections
- Tuples, Enums, Classes and Generics
Tuples (TS 4.0 only)
-
Labeled
-
Variadic
Further Typing
-
Type Guards
-
Index & Mapped Types
-
Conditional Types
-
The typeof Operator
-
Usage of typeof in React state management
-
Usage of instanceof
-
Nullable types and optional chaining (Elvis Operator)
Classes
-
Public, private and protected members
-
Practical Limitations of JavaScript
-
Implements and extends
-
Accessors
-
Static properties
-
Abstract classes
-
Tips and Tricks
Modules and Namespaces
-
Modules
-
Namespaces
Generics
-
Generic functions
-
Generics in a constructor signature
• Declaration files
• Interacting with external libraries
• Definitely typed
• Creating declarations
• Testing Strategies
• ES6 topics - as requested
• Polymorphism, overloading and Inference
Utility Types and helpful keywords
• Partial
• Record
• Pick
• Omit
• Exclude
• Extract
Working with TypeScript
-
TypeScript in JavaScript projects
-
Migration from JS to TS
-
Project configuration TsConfig.json
-
Unit Testing with TypeScript and Jest
-
Mocking and stubbing with types
Configuration and project structure
-
Modules and Module Resolution
-
Namespaces and Modules
-
Module interoperability
-
React / JSX features in TypeScript
-
Usage with Webpack
-
Source Maps and Declaration files
-
Strict options and strict mode
-
Decorators and metadata
Async Patterns in TS
-
- Callbacks, Promises
-
- Async Await
-
- Iterators and Generators
ES2015-2020 TypeScript features
-
Classes and inheritance in ES vs TS
-
Functional programming patterns
-
Multi-Inheritance and mixins
-
Spread, destructuring and inference
-
Optional Chaining
-
Nullish Coalescing
-
short-circuit assignment operators
Type Declarations
-
Ambient types
-
Declarations files
-
DefinitelyTyped, types and type roots
-
References, Triple-Slash Directives
-
Type Compatibility
Advanced Types
-
Type Guards, type assertions and Differentiating Types
-
User-Defined Type Guards
-
Using the in, typeof and instanceof operators
-
Nullable types vs optional parameters and properties
-
Interfaces vs. Type Aliases
-
Enum Member Types
-
Polymorphic this types
-
Index types and index signatures
-
Mapped types and Inference from mapped types
-
Unknown, Any, Never
-
Conditional Types
Who should attend
The course assumes delegates already have a good working knowledge of Javascript and that they also have some exposure to Typescript.
Feedback
4.8 out of 5 average
"A very useful course and although a little fast for me I got out what I need and have a very strong conceptual understanding. Type declarations and generics were particularly useful. Thanks to Matt who was awesome in his knowledge and patient with his students."
TC, Database Architect, Typescript advanced, May 2021
Watch live client feedback from jbi training courses: