Skip to content

rehmankalawant/typescript-core-concepts

Repository files navigation

📘 TypeScript Learning Repository

A structured repository documenting my journey of learning TypeScript with topic-wise organized code and practical examples.

🚀 Purpose

  • Learn TypeScript with clarity and structure
  • Build type-safe and scalable code
  • Move from JavaScript to production-level development

📂 Structure

Each topic is organized in its own folder:

  • types/ → basic & advanced types
  • functions/ → typed functions & parameters
  • interfaces/ → interfaces & object structures
  • generics/ → reusable type logic
  • utility-types/ → built-in helpers
  • classes/ → OOP in TypeScript

📚 Key Concepts

  • Type system (union, intersection, aliases)
  • Functions & object typing
  • Generics & utility types
  • Classes & access modifiers

🛠️ Run

npm install -g typescript
tsc filename.ts

TypeScript is not about syntax — it's about designing better code with types.

About

Deep dive into TypeScript fundamentals and advanced type system features - covering type inference, generics, mapped types, conditional types, and real-world usage patterns.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors