- Clone this repository or download zip
https://github.com/hafizhmaulanay/basic-typescript.git
- You can use npm to install TypeScript globally
npm install -g typescript
- Watch your files and directories using compiler flags in TypeScripty
tsc -w
- Include the script in the HTML you want to run which is located in the
dist
. folder, Example
<!-- Add yout file javascript in folder dist when you done compile -->
<script src="dist/basic-types/index.js"></script>
-
Open your favorite browser and go to the console tab
-
Have a good study💪✊🚀
Consider to support me, at least click the 🌟 button
© 2021 Crafted by Hafizh Maulana Y