TypeScript - Training Contents-1 Days
TypeScript - Training Contents-1 Days
TypeScript Fundamentals
This TypeScript course is intended to be delivered to software
The basic types supported by TS
engineering teams.
The power of type inference
Comparing any and unknown
Delegates on this TypeScript training course must be proficient
JavaScript developers. However, the delivery time can be
The difference between Casting and Type Assertions
extended if they have no prior knowledge of JavaScript. TypeScript as a superset of Modern JavaScript
Enhancements to function declarations
Using function types and higher order functions
How function overloading works in TypeScript
TypeScript is a type safe superset of JavaScript that allows us Numeric, String and const enumerations
to write clean, simple code that runs anywhere JavaScript does.
Unlike other languages that can transpile to JavaScript, the Object Oriented TypeScript
interop between JavaScript and TypeScript is a primary The TypeScript class model in depth
engineering concern. As a superset, all JavaScript skills and Access modifiers and support for JavaScript private
legacy code are readily reusable. Type safety brings many
Enforcing contracts via interfaces
benefits, including catching bugs at compile time instead of
Readonly properties and Accessors
run time, advanced static analysis tooling, powerful
Support for generic types and constraints
refactorings, better IDE experience etc.
Advanced TypeScript
Advanced features of TS interfaces
The difference between object literals and type
literals
Using string and number literals as Types
Type Aliases, Unions and Intersections
Smart Casting and Type Guards
Defining mapped types and the infer keyword
Utility types and type programming
ts-toolbelt and utility-types
Using class Decorators
Understanding Symbols
Generator functions
Writing asynchronous TypeScript
Testing TypeScript
Mock objects in a strongly typed world
Leveraging the Builder pattern
Testing asynchronous TypeScript