Skip to content

Latest commit

Β 

History

History
52 lines (40 loc) Β· 949 Bytes

File metadata and controls

52 lines (40 loc) Β· 949 Bytes

TypeScript Basics

A simple project demonstrating the fundamentals of TypeScript for beginners.

🧠 Topics Covered

  • βœ… Arrays, Variables, Operators
  • βœ… Data Types, Objects
  • βœ… Type Annotations (string, number, boolean, any, etc.)
  • βœ… Interfaces and Types
  • βœ… Functions with typed parameters and return types
  • βœ… loop, Tuple
  • βœ… Switch statements and Conditional statemnents
  • βœ… Scope

included explanation for learning purposes

βš™οΈ Getting Started

Prerequisites

Make sure you have Node.js and npm installed.

node -v
npm -v
Installation
Clone the repository

bash
Copy
Edit
git clone https://github.com/yourusername/typescript-basics.git
cd typescript-basics
Install dependencies

bash
Copy
Edit
npm install
Compile TypeScript to JavaScript

bash
Copy
Edit
node dist/index.js
πŸ›  Scripts
npx tsc – Compile the TypeScript files

✍️ Author
Name: Sameer Manzur 

GitHub: @sameermanzur