This repository contains my TypeScript learning journey, where I practice core concepts with simple and clear examples. It is mainly created for learning, revision, and interview preparation.
- TypeScript setup & configuration
- Primitive & non-primitive data types
- Type inference & explicit typing
- any vs unknown
- Arrays, tuples & objects
- Type aliases & interfaces
- Optional & readonly properties
- Functions (optional, default & callback)
- Classes, access modifiers & inheritance
- Generics & utility types
-
Install TypeScript globally: npm install -g typescript
-
Check TypeScript version: tsc --version
-
Compile a TypeScript file: tsc filename.ts
-
Run the generated JavaScript file: node filename.js
- Build strong fundamentals of TypeScript
- Prepare for semester exams & interviews
- Improve understanding of typed JavaScript
- Use as quick revision notes
Monu Kumar
BCA Student | Aspiring Full-Stack Developer
If you find this repository helpful, feel free to give it a star.