Title: Add TypeScript support and TS-specific patterns
Problem
No explicit TypeScript error handling in the DB and run doesn't handle .ts execution.
Proposed change
Extend the error database with common TypeScript diagnostics and detect .ts error messages. Optionally support running .ts files with ts-node when available.
Files to change
bin/index.js (detect .ts and attempt ts-node execution when present)
lib/database.json (add TS-specific match entries)
locales/en.json (add translations for TS messages)
Tasks
- Add ~20 TS-specific
match patterns to DB.
- Detect
.ts extension in run and check for ts-node/tsx availability; otherwise show a helpful message.
- Add tests for TS message matching.
Acceptance criteria
- TS errors are recognized and produce helpful explanations.
analyze works on TS error strings.
Labels: enhancement, medium-priority
Title: Add TypeScript support and TS-specific patterns
Problem
No explicit TypeScript error handling in the DB and
rundoesn't handle.tsexecution.Proposed change
Extend the error database with common TypeScript diagnostics and detect
.tserror messages. Optionally support running.tsfiles withts-nodewhen available.Files to change
bin/index.js(detect .ts and attemptts-nodeexecution when present)lib/database.json(add TS-specificmatchentries)locales/en.json(add translations for TS messages)Tasks
matchpatterns to DB..tsextension inrunand check forts-node/tsxavailability; otherwise show a helpful message.Acceptance criteria
analyzeworks on TS error strings.Labels: enhancement, medium-priority