Skip to content

Ritik6547/TypeScript-Playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎯 TypeScript Playground

A hands-on repository for experimenting and learning TypeScript.
This repo contains exercises, mini-projects, and practice code covering everything from the basics to advanced concepts in TypeScript.


📚 What You'll Find Here

  • 🔹 TypeScript fundamentals – types, functions, objects, arrays, tuples
  • 🔹 Advanced concepts – generics, utility types, type guards, enums
  • 🔹 Real-world use cases – API typing, modular code, error handling
  • 🔹 Mini projects and experiments – applying TypeScript in practice

🚀 Getting Started

📌 Prerequisites

  • Node.js (v16+ recommended)
  • npm, yarn, or pnpm

📦 Installation

Clone this repository and install dependencies:

git clone https://github.com/Ritik6547/TypeScript-Playground.git
cd TypeScript-Playground
npm install

▶️ Running Code

Compile TypeScript files to JavaScript:

tsc

Or run directly with ts-node (if installed globally or as a dev dependency):

npx ts-node src/main.ts

🧰 Tech Stack

  • TypeScript – Static typing for JavaScript
  • 📦 Node.js – Runtime for executing TS/JS
  • 🛠️ ts-node – Run TypeScript directly (optional)

📄 License

This repository is open-sourced under the MIT License.
Feel free to use, copy, or modify the code for learning and personal use.


✨ Author

Made with ❤️ by Ritik Kumar
📧 Email: alphaop6547@gmail.com
🐦 Twitter: @ritik65477

About

A hands-on repository for experimenting and learning TypeScript. Contains exercises, mini-projects, and practical examples to master TypeScript fundamentals and advanced concepts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors