HarperFast / HarperFast/harper
Improve Databases and Tables TypeScript types to support iteration
Open
area:storage
enhancement
from-jira
- Dominant language
- JavaScript
- Stars
- 89
- Forks
- 10
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 200
Description
## Problem
`Databases` and `Tables` types in `resources/Table.ts` are plain-object maps, not `Map` instances or arrays, so they don't support standard iteration (`.forEach`, `for...of`, spread). TypeScript developers expect collection types to be iterable.
## Proposed
Convert to `Map` / `Map` or add iterator support so callers can iterate naturally without using `Object.entries()`.
🤖 Filed by Claude on behalf of Kris.
Contributor guide
Assessment
This issue has not been assessed yet.