Getting started with TypeScript is easier than ever. You can setup a development environment right in your browser or even quickly put together a local environment in using the parcel bundler.
I typed in src="./index.ts" and it didn't work. I've never tried Parcel before so when I went to localhost:1234 and saw nothing, I assumed Parcel was broken and/or bad software. After about 15 minutes I removed the script tag and then finally the html started showing in the inspect panel. As an experiment I added the script tag again using src="index.ts." That compiled the TS and served the page.
Also, I was able to type in just node index.ts in the console and it worked.
I'm not happy with these courses, they're awfully explained, they don't go into details to explain what is happening like, what is Parcel? Why do I need to install it?
You never explain that, you just install int and ask me to run it like it's magic.
Egghead courses are not as good as I expected.
@Conekta, I'm a little late to the party but parcel-bundler just looks like an alternative to Webpack, to bundle your modules into static assets. It has its ups and downs; https://blog.logrocket.com/benchmarking-bundlers-2020-rollup-parcel-webpack/
If you're using CodeSandbox note that in the very next video the host assumes that you haven't selected Vanilla TS, but React + TS.
The first lesson doesn't even work. Codesandbox wont work as you showed.
You should just be seeing "Hello from TypeScript" in your console.