Oreilly - Mastering TypeScript
by David Sherret | Publisher: Packt Publishing | Release Date: December 2015 | ISBN: 9781782175650
Explore TypeScript in depth with detailed examples and put it all into practice by building a projectAbout This VideoDiscover ES6 and ES7 features available today in TypeScript and learn about the experimental language features TypeScript offersMaster your TypeScript skills by building an illustrative restaurant order applicationUtilize static typing between client and server applications and understand the benefits static typing can offer.In DetailWriting large applications in JavaScript is a challenge. TypeScript brings JavaScript down to Earth by providing optional static typing and future JavaScript features today.TypeScript gives the developer instant feedback on the code they are writing in order to catch mistakes earlier in the development process. Since it is transpiled to JavaScript, developers can take advantage of future JavaScript language features today.Mastering TypeScript will take you on a journey from understanding and interacting with the type system to working efficiently with more advanced features of the language.cWe'll start by introducing a simple client/server application. Then use the application to demonstrate key components of the TypeScript language.Once the sample application is set up, we'll look in detail at TypeScript's type system. Then we take a look at more advanced language features, learn to deal with JavaScript libraries, and finally use TypeScript to utilize static typing between parts of an application.Mastering TypeScript will help you write better TypeScript code and gain a deeper understanding of the language.
- Chapter 1 : Getting Started
- The Course Overview 00:03:24
- Sample Application Overview 00:04:13
- Compiling TypeScript in the Sample Application 00:04:32
- Chapter 2 : Deploying the Type System
- Implicit or Explicit Types 00:06:54
- Avoiding the "any" Type 00:03:37
- Being Aware of Structural Typing 00:02:42
- Type System Troubles 00:04:07
- Compiler Options for Added Support 00:02:23
- Enforcing Rules and Coding Standards 00:04:23
- Chapter 3 : Moving to ES6 Classes
- Introduction – Before Moving 00:03:55
- Class-like JavaScript Patterns to TypeScript (Part 1) 00:05:53
- Class-like JavaScript Patterns to TypeScript (Part 2) 00:04:24
- Static Class-like Patterns in TypeScript 00:03:17
- Shortening a Class with Parameter Properties 00:01:40
- When to Use Arrow Function Properties 00:06:02
- Chpater 4 : Interacting with the Type System
- Assert and Guard 00:05:24
- Making the Most of Type Guarding 00:05:05
- Multiple Function Signatures 00:06:04
- Rest and Spread 00:02:19
- Extending Built-in Types 00:04:01
- Code Refactoring 00:03:22
- Chapter 5 : Representing JavaScript Libraries
- Definition Files 00:04:35
- Writing a Definition File 00:07:46
- Strong Typing JavaScript Libraries on the Run 00:05:24
- Downloading and Managing Definition Files 00:05:44
- Included Definition Files 00:04:17
- Chapter 6 : Language Features for Code Improvement
- Making the Most of let and const 00:05:19
- Working with Strings 00:06:01
- enums 00:05:21
- const enums Versus enums 00:03:23
- Moving to ES6 Modules 00:07:46
- Destructuring 00:05:13
- Chapter 7 : Advanced ES6 and ES7 Features
- Introduction to Generators 00:06:28
- Improving Performance and Efficiency with Generators 00:03:59
- Easier Asynchronous Code with async/await 00:03:54
- Harnessing the Power of Decorators 00:07:37
- Advanced Decorators 00:03:35
- Chapter 8 : Bridging Statically Typed Gaps
- Sharing Code Across Applications 00:05:23
- Bridging with Interfaces 00:05:48
- Bridging with Code Generation 00:03:24
- Using TSX Files 00:05:11
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.