Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

Typescript tutorial

This is the tutorial project for TypeScript in Node.js, which is result of going through the documentation and removing unnecessary natural language description (or rather translating it to pure TypeScript). It consists of following parts:

  1. ECMA6 features overview from here.
  2. Basic Types (docs)
  3. Variable Declarations (docs)
  4. Interfaces (docs)
  5. Classes (docs)
  6. Functions (docs)
  7. Generics (docs)
  8. Enums (docs)
  9. Advanced Types (docs)
  10. Namespaces (docs)
  11. Decorators (docs)
  12. Mixins (docs)
  13. Using JavaScript with declaration files

How to run it in the shell

  1. Install dependencies using npm install.
  2. Run using node -r ts-node/register src/index.ts [LESSON_NUMBER], where LESSON_NUMBER is in format: 00, 01, 02 etc.

How to debug it in WebStorm/Idea

  1. Install TypeScript plugin and Node.js plugin.
  2. Use Node.js Run/Debug configuration with the same command line as above.
  3. After successful configuration you will be able to create breakpoint in src/index.ts and the execution will stop there.

Releases

No releases published

Packages

No packages published