How to setup a typescript Project as fast as possible
Simply type in
And then, boom, well-done, a well typescript project is initialized, and it’s very nice.
Some useful knowledge about this quick generate
Compile
Run
1
| node <file_dir>/<file_name>
|
for more info, check out gts offical documentation.
Or you meant to start a minimal typescript project
You can use my minimal typescript project starter
Quick start
- clone this project
1
| git clone https://github.com/ryankert01/ts-starter.git
|
- initialize
Scripts
1 2 3
| yarn compile // compile ts file yarn dev // watch ts file yarn start // run this project
|
End of story…