Want to know what are the main differences between TypeScript and JavaScript? You can check yourself inside the src
dir.
Note: You must have installed Node. Optionally you can have installed Yarn and use it to install the dependencies.
Clone this repo (and star it ⭐️):
git clone https://github.com/cesalberca/ts-vs-js.git
CD into the project:
cd ts-vs-js
Install the dependencies:
npm install
# or
yarn
Compile it:
npm start
# or
yarn start
And run it:
npm run execute
# or
yarn execute
You can also have it recompile on save in another shell:
npm run watch
# or
yarn watch
Note: It's recommended that you install the Quokka extension in order to interact with the code more easily.