ts-imm
Simple data classes in TypeScript, modeled after case classes in Scala.
Usage
describe"imm",;
Disclaimers
- Uses an immutable.js map under the hood; in theory this is good, but I'm not an expert on that vs. just a Object.assign
- I've not done any testing/thinking about inheritance; in case classes this was a bad idea
- The intent is not to model your entire tree of Redux stores, this is "just data classes"
Credits
Inspiration from stimo.