Skip to content

javieriranzo/typescript-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

TypeScript Course Project

This repository contains the source code and materials for a TypeScript course.
It is designed to help you learn and practice TypeScript fundamentals, advanced features, and real-world applications.


πŸ“¦ Requirements

  • Node.js (latest LTS version recommended)
  • npm (comes bundled with Node.js)

πŸ›  Tools & Dependencies

The project will make use of:

  • TypeScript – Strongly typed programming language that builds on JavaScript.
  • ts-node – Run TypeScript files directly without compiling.
  • nodemon – Auto-restart development server on file changes.
  • ESLint – Linting utility to enforce best practices.
  • Prettier – Code formatter for consistent style.

πŸš€ Getting Started

  1. Clone the repository:
    git clone https://github.com/your-username/typescript-course.git
    cd typescript-course
    
  2. Install dependencies
    npm install
    
  3. Run a TypeScript file:
    npx ts-node src/index.ts
    
  4. Compile TypeScript to JavaScript:
    npx tsc
    

πŸ“š Topics Covered

  • TypeScript basics (types, interfaces, functions, generics)
  • Classes and object-oriented programming
  • Type narrowing and advanced types
  • Modules and namespaces
  • Working with npm packages
  • TypeScript configuration (tsconfig.json)
  • Debugging TypeScript
  • Building small projects with TypeScript

πŸ“ Scripts

Available npm scripts:

  • npm run start – Run the main entry file with ts-node.
  • npm run build – Compile TypeScript into JavaScript.
  • npm run dev – Run with nodemon for development.
  • npm run lint – Lint the codebase with ESLint.
  • npm run format – Format code with Prettier.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published