Skip to content

Convert backend workers to TypeScript #2138

Open

Description

@trillium

Overview

Convert the backend worker modules (openCheckins, closeCheckins, createRecurringEvents, slackbot, tokenCleanup) to TypeScript to catch type errors at compile time — particularly around date/time handling which has been a source of bugs (#1872).

Action Items

  • Add TypeScript and required @types packages to backend
  • Create tsconfig.json for backend
  • Define types for Event, CheckIn, RecurringEvent models
  • Convert worker files from .js to .ts
  • Update build/dev scripts to handle TypeScript compilation
  • Ensure compatibility with ESM migration (Migrate backend from CommonJS to ES Modules #2133)

Resources/Instructions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions