Book Image

Mastering TypeScript [Video]

By : David Sherret
Book Image

Mastering TypeScript [Video]

By: David Sherret

Overview of this book

<p>Writing large applications in JavaScript is a challenge. TypeScript brings JavaScript down to Earth by providing optional static typing and future JavaScript features today.</p> <p>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.</p> <p>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.</p> <p>We’ll start by introducing a simple client/server application. Then use the application to demonstrate key components of the TypeScript language.</p> <p>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.</p> <p>Mastering TypeScript will help you write better TypeScript code and gain a deeper understanding of the language.</p> <h1>Style and approach</h1> <p>The course is built around a restaurant ordering application, where the topics will be explained using sample based examples. The course will compare JavaScript to TypeScript covering the pros that TypeScript has to offer, along with advanced techniques and best practices.</p>
Table of Contents (8 chapters)
Chapter 6
Language Features for Code Improvement
Content Locked
Section 2
Working with Strings
What’s a better way we can work with strings in TypeScript? - Use string interpolation - Work with multi-line strings - Tagged templates