Course description
TypeScript is a static type checker for JavaScript. Where JavaScript code is prone to failures at runtime, TypeScript flags errors at compile time. Angular applications are written in TypeScript by default, and TypeScript is supported by both React and Vue.
This course deals with all of the core TypeScript features including type inference, explicit typing, primitive types, object types, union types, aliases, interfaces, literal types, narrowing, function types, extending types, generics, type manipulation, and classes.
Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.
Who will the Course Benefit?This course is designed for JavaScript developers who are required to build or maintain applications written in TypeScript.
Course ObjectivesThis course aims to enable the delegate to build web applications using TypeScript. That is, the delegate ought to be able to write using TypeScript, that which they previously wrote using JavaScript, and in so doing produce code which is better and more robust.
Upcoming start dates
Suitability - Who should attend?
Delegates attending this course should be familiar with/able to write JavaScript code up to and including features detailed in ES6. This can be achieved via attendance on our JavaScript 1 and JavaScript 2 courses.
Experience to the level as demonstrated in this course is recommended:
- JavaScript Developer
Training Course Content
TypeScript Training Course
Course Contents - DAY 1
Course Introduction- Administration and Course Materials
- Course Structure and Agenda
- Delegate and Trainer Introductions
- TypeScript vs. JavaScript
- Installing TypeScript
- Static type checks
- Non-exception failures
- Compiling TypeScript to JavaScript
- Explicit types
- Strictness flags
- Primitive types
- Array types
- Variable and function type annotations
- Object types
- Union types
- Aliases
- Interfaces
- Assertions
- Literal types
- null and undefined types
- Other types
- What is narrowing?
- Type guards
- Truthiness
- Equality
- Membership
- instanceof
- Assignments
- Control flow analysis
- Type predicates
- Function type expressions
- Call signatures
- Construct signatures
- Generic functions
- Generic constraints
- Optional parameters
- Optional parameters in callbacks
- Overloading
- Using this in functions
- Rest parameters and arguments (spread)
- Parameter destructuring
- void return type
Course Contents - DAY 2
Session 5: MORE ABOUT OBJECT TYPES- Optional property modifier
- Readonly property modifier
- Index signatures
- Extending types
- Intersecting types
- Aliases or interfaces?
- Generic object types
- Array types
- Tuple types
- What is type manipulation?
- Generics
- keyof
- typeof
- Indexed access types
- Conditional types
- Mapped types
- Utility types
- Class members
- Fields
- Constructors
- Methods
- Getters and setters
- Class heritage
- extends
- implements
- Member visibility
- Static members
- Generic classes
- Handling this
- Arrow functions
- Parameter properties
- Class expressions
- Abstract classes and members
- Relationships between classes
- General types
- Generics
- The any type
- Callback types
- Function overloads
- Others
Customer Outreach Award
We believe that it should be easy for you to find and compare training courses.
Our Customer Outreach Award is presented to trusted providers who are excellent at responding to enquiries, making your search quicker, more efficient and easier, too.
Reviews
Average rating 5
Stuart has been great and engaging as always - learnt a lot about typescript with very little previous experience
Good course, gone from knowing nothing about TS to being confident in applying it in practise.
Continuing Studies
Further Learning
- Developing Node.js Web Applications
- Angular Development
- React
Request info
Why StayAhead. From a single person on a scheduled course to large scale training projects StayAhead Training have the expertise and experience to help. Established since 1992, StayAhead Training is recognised as one of the leading independent IT Training specialists...
Stuart was great as always. Delivery spot on, length of course spot on. Really enjoyed, thanks.