November 2019
Beginner
804 pages
20h 1m
English
Now let’s try to use tsc (the TypeScript compiler) to manually compile our code. Go back to the Terminal and run tsc:

As you can see, there are many options. You can list all the available options using tsc --all. We'll discover some of those as we go about building cool applications together but, for now, let's focus on the task at hand: compiling a single file. You can do this by executing tsc hello-world.ts.
If all goes well, you should see nothing. But TypeScript should have transpiled your code to JavaScript.
By convention, TypeScript generates a .js file with the same name as the input ...
Read now
Unlock full access