New TypeScript Handbook Available Now

New TypeScript Handbook Available Now

New TypeScript Handbook Available Now. Announcing the New TypeScript Handbook. We’re happy to announce that a fresh re-write of the TypeScript Handbook is out of beta and is now our website’s primary resource for learning TypeScript!

Hey folks, we’re happy to announce that a fresh re-write of the TypeScript Handbook is out of beta and is now our website’s primary resource for learning TypeScript!

A screenshot of the new Handbook website

Read the handbook on Web / Epub / PDF

In the last year, the TypeScript team has heavily focused on ramping up the scale, modernity and scope of our documentation. One of the most critical sections of our documentation is the handbook, a guided tour through the sort of TypeScript code you’ll see in most codebases. We want the handbook to feel like the first recommendation you give for learning TypeScript.

With the release of the revised website last year we included some incremental improvements to the handbook, but the new version of the handbook is what provided a “north star” for a lot of features on the new website.

The new handbook project started out in 2018, with an additional set of constraints applied to how we teach:

  • Leave teaching JavaScript to the experts There are so many great resources for learning JavaScript across the web and via books. There’s no need for us to compete in that space. The handbook aims to help engineers understand the way TypeScript builds on JavaScript. This focus means that our documentation can make assumptions about background, and avoid explaining JavaScript features from the ground up. That isn’t to say that we don’t anticipate people from different skill levels using the handbook though. For example, we added a new section to the site which primes people on how TypeScript compares to other languages depending on their technical background as a precursor reading to the handbook. You can see that over in the documentation overview.
  • Teach incrementally We wanted to build concepts on top of each other in a linear way – avoiding TypeScript features which hadn’t yet been explained. This limitation did a good job of forcing us to re-think the order and categories for language concepts. Teaching this way made authoring the first few pages a little difficult, but it really becomes valuable for readers and encourages a start-to-finish style of reading.
  • Let the compiler do the talking If you have already used the TypeScript documentation since the new website launched, you may have noticed that we have code samples which provide inline context like quick info and errors, and can even show output .js and .d.ts files. As handbook contributors, it means we have to acknowledge when a TypeScript change impacts the documentation. When we migrate the website to a new TypeScript version, that migrates the handbook too, and if the results aren’t the same it’s easy for us to see the impact and decide what the changes we need to make. What excites me, is that we are using these tools to bring some of the best features from a rich editor’s experience into the pages on the web, and statically in epub/pdf forms for the handbook. This technology can power your apps too. As a reader, that means all code samples in the site are up-to-date, accurate and interactive!
  • Write for the everyday cases TypeScript has been around for 8 years, and on the whole, does not remove features. Documenting all of the possible uses, and viable options for any concept, has been moved out of the responsibility of the handbook and into our growing section of “reference pages”. We think this should remove distractions on the path to TypeScript enlightenment. While for some of us it might be fun to learn about the history of JavaScript bundling patterns or how more-esoteric TypeScript options change code flow analysis (and it is for me!), most people are either learning for “greenfield” projects, or working in codebases with all that figured out already.

These constraints have helped us provide a much more focused, and approachable guided tour through the TypeScript language. We’re big fans (even if we might be biased).

While I may be the one announcing the new handbook, and pushing it over the line to “ready”. The new handbook has been a running project for many years in TypeScript team with many hundreds of contributions big and small. In the last few months, we’ve been getting really great feedback from the public which has helped give some fresh perspective on how we explain ideas – so I’d like to say thanks to everyone involved!

If you’ve been keeping up to date with TypeScript via the quarterly release notes on this blog, you might be a good candidate for giving the new handbook a re-read. We showcase all the old and new features but they are all interlinked and introduced in a consistent order. You never know what you might have missed. If you spot something we’ve missed, feel free to leave us an issue on microsoft/TypeScript-Website.

You can read the new handbook on: Web / Epub / PDF

The Original Article can be found on https://devblogs.microsoft.com/

typescript javascript angular

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Install Angular - Angular Environment Setup Process

Install Angular in easy step by step process. Firstly Install Node.js & npm, then Install Angular CLI, Create workspace and Deploy your App.

JavaScript Vs TypeScript

Get to know here difference between JavaScript & TypeScript, In this blog explained with pros and cons of TypeScript & JavaScript.

Basics of Angular: Part-1

What is Angular? What it does? How we implement it in a project? So, here are some basics of angular to let you learn more about angular. Angular is a Typesc

Short TypeScript Import Paths in Angular 9

How to setup import path aliases in Angular9 and why you should do it as the first thing for any Angular project. Short TypeScript Import Paths in Angular9

Introduction to TypeScript | TypeScript Tutorial | TypeScript for Beginners

★ This video will give you an introductory overview of Typescript and the best way to learn it ★ TypeScript is a programming language that helps you write JavaScript code effortlessly and efficiently ★ Typescript is part of our Live Training module on Angular. ★ Topics Covered in the video: ✓ Introduction to TypeScript ✓ Installation ✓ Variables ✓ Data Types ✓ Functions ✓ Interfaces ✓ Classes ✓ Access Modifiers