This repository is your comprehensive guide to learning TypeScript, from the very basics to advanced concepts. It serves as a one-stop-shop for TypeScript enthusiasts aiming to enhance their programming skills with the super-set of JavaScript.
This repository covers the following TypeScript concepts:
- Basic Types and Variables
- Functions
- Interfaces
- Classes
- Generics
- Modules
- Namespaces
- Advanced Types
- and more...
To get started with this repository, clone it to your local machine:
git clone https://github.com/Karthikmani345/from-zero-to-hero-typescript.git
After cloning, navigate to the project's directory:
cd from-zero-to-hero-typescript
To compile the TypeScript files and see them in action, you will need the TypeScript compiler. If you don't have it installed globally, you can do so by running:
npm install -g typescript
Now you can compile and run any TypeScript file:
tsc filename.ts
node filename.js
Replace
filename
with the name of the file you want to compile and run.
The repository is structured in a way that gradually increases the complexity of the concepts. Start from the basics and move towards the more advanced topics. The comments in the code will guide you through the functionality and usage of the concepts.
You will need the following tools to run the examples in this repository:
- Node.js
- TypeScript
- A text editor like VSCode, Atom, or Sublime
To get more out of this repository, you might want to visit the following resources:
Contributions are welcome! Feel free to submit a pull request if you find any bugs, want to add new examples, or enhance the existing ones.
This project is licensed under the MIT License.
Enjoy your TypeScript journey. With every step, you are becoming a better TypeScript developer! Remember, consistent practice is the key to success.
⭐️ If you found this repository helpful, please give it a star!
© 2023 GitHub Karthikmani345