Skip to content

🧠 A generic task manager built with TypeScript classes, generics, and interfaces with Jest tests.

Notifications You must be signed in to change notification settings

angryhtml/ts-taskmanager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript Task Manager

A small TypeScript project that implements a generic task manager using interfaces, classes, and generics.

Features

  • Add a task
  • Remove a task
  • Toggle task completion
  • Get all tasks
  • Get completed and pending tasks
  • Find a task by ID
  • Update a task with Partial<T>
  • Clear all completed tasks
  • Count total tasks

Technologies

  • TypeScript
  • Generics
  • Interfaces
  • Classes
  • Basic OOP patterns

Testing & Coverage

This project uses Jest for unit testing.
All methods are covered with tests, and test coverage is 100%.

To run tests:

npm test

About

🧠 A generic task manager built with TypeScript classes, generics, and interfaces with Jest tests.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published