CreatedAt field type varies across entities
Open
- Dominant language
- TypeScript
- Stars
- 14
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Some entities like `Reward`, have the `createdAt` state attribute of type `Date`, which is a Javascript which is a JS global object. Others like `Member` have the same field, but of type `Date`, which is a type alias for `number`. Some others like `Proposal` have `number | Date` where `Date` is JS Date object.
This should be handled in a uniform way, and update the `ItemMap` methods and tests for this accordingly.
Contributor guide
Assessment
This issue has not been assessed yet.