Simple and easy to understand typescript codes
There are incremental updates starting from simple codes. Copy and paste from steps directory to index.ts before running.
To start this project:
- Clone this repo
git clone https://github.com/ayushchauhan101/easy-typescript.git
- Install the whole repo
npm install
- Run the project
npm run start
- Syntax:
variable_name : type = value
const var_name: string = "this is a value"
Starting and typescript config
Part:
- Basic usage and understanding
- Generics
- Types and it's uses
- Tuples and Enums
- Functions and Objects
This is an ongoing project and the maintainer appreciate any and all input, issues, discussions as well as PR(Pull Request)