Basic Typescript Starter
- Provides the basic packages and configurations for a simple Typescript project
- Provides a few example of e.g. type annotations for arrays, function params and return types; type aliases; interfaces; union types; async function type; ES6 module; class access modifiers etc.
Build and Run
npm run start
See following resources especially:
Typescript is well documented
https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html https://www.typescriptlang.org/docs/handbook/typescript-tooling-in-5-minutes.html https://www.typescriptlang.org/docs/handbook/intro.html
This is a famous open-source book
https://basarat.gitbook.io/typescript/recap
Typescript support is fundamental in VSCode
https://code.visualstudio.com/docs/languages/typescript
Some accessible tutorials from DigitalOcean
https://www.digitalocean.com/community/tutorials/typescript-new-project https://www.digitalocean.com/community/tutorials/linting-and-formatting-with-eslint-in-vs-code https://www.digitalocean.com/community/tutorials/how-to-work-with-typescript-in-visual-studio-code https://www.digitalocean.com/community/tutorials?q=typescript