Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript Learning 🚀

This repository contains my TypeScript learning journey, from the fundamentals to deeper concepts about how TypeScript works internally.

The goal is not just to write TypeScript code, but to understand the core ideas, type system, compiler, and development workflow behind TypeScript.

📚 What You'll Find

  • TypeScript fundamentals and core concepts
  • Type inference and type annotations
  • Type system and common types
  • TypeScript compiler and compilation pipeline
  • Parser, AST, Binder, Type Checker and Emitter
  • Practical TypeScript examples and experiments
  • Notes and explanations for the topics I learn

📁 Repository Structure

typescript-learning/
│
├── src/                  # TypeScript source code
├── dist/                 # JavaScript generated from TypeScript
├── topics/               # Learning notes and topic READMEs
└── README.md             # Repository overview

src/

Contains the TypeScript code I write while learning and experimenting.

dist/

Contains the JavaScript output generated from the TypeScript source.

topics/

Contains my notes and READMEs for the concepts I learn.


🎯 Purpose

This is a learning repository, not a production project.

I'm using it to:

Learn → Experiment → Understand → Document

The repository will grow as I continue learning TypeScript.


📖 Learning Source

I'm currently learning TypeScript through the Chai aur Code TypeScript playlist and documenting my understanding, experiments, and notes in this repository.

Primary learning source: Chai aur Code — TypeScript Playlist


🚧 Status

Learning in progress...

More TypeScript concepts, experiments, and notes will be added as I continue.

✅ I've covered

  • Type inference & annotations

  • Primitive types

  • Union & literal types

  • any, unknown, never

  • Type narrowing

  • Type predicates / custom guards

  • Type assertions

  • type & interface

  • implements

  • Intersection types

  • Optional & readonly properties

  • Basic understanding of the compiler

    • Parser
    • AST
    • Binder
    • Type Checker
    • Emitter

🔜 Major things remaining

  1. Functions deeply

    • Parameter/return types
    • Optional/default parameters
    • Function types
    • Call signatures
    • Overloads
  2. Objects & advanced types

    • keyof
    • typeof
    • Indexed access types
    • in
    • Mapped types
    • Conditional types
    • Template literal types
  3. Generics ⭐

    • Generic functions
    • Generic interfaces/types
    • Constraints
    • extends
    • Generic classes
  4. Arrays / Tuples / Enums

  5. Classes deeply

    • Access modifiers
    • public/private/protected
    • abstract
    • static
    • getters/setters
    • inheritance
  6. Modules

    • import/export
    • Module resolution
  7. Utility Types ⭐

    • Partial
    • Required
    • Pick
    • Omit
    • Record
    • Readonly
    • ReturnType
    • Parameters
    • etc.
  8. Advanced TypeScript

    • Declaration files .d.ts
    • tsconfig
    • Strict mode
    • Type compatibility
    • Structural typing
    • Declaration merging
    • infer
  9. Practical TypeScript

    • TypeScript + Node.js
    • TypeScript + Express/FastAPI-style backend concepts
    • API typing
    • npm/package typing
    • Real project structure

🎯 For your goal

Don't worry about "finishing 100% of TypeScript." For backend/AI engineering + interviews, I'd prioritize:

Fundamentals → Functions → Generics → Classes → Utility Types → Advanced Types → tsconfig → Real project

About

This repository contains my **TypeScript learning journey**, including practical code, experiments, and README files documenting the concepts and topics I learn.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages