The TypeScript Handbook is a comprehensive guide to the TypeScript language
Please see the latest TypeScript Language Specification for more details.
You will need Node.js and npm before starting.
First install gitbook through npm
.
npm install -g gitbook-cli
Note, on certain systems, you may need to raise your permissions with a command like sudo
.
To build as a website, run the following from the root of this repository:
npm build pages html
The produced handbook can be viewed in the html
directory.
To preview the site in your browser, run the following from the root of this repository:
npm serve pages