Open
Description
It appears to me that we might greatly benefit from moving jco
itself to Typescript so that we can benefit from compile time catching of bugs/inconsistencies in expected and received objects, etc.
There are at least a few benefits:
- Build type catching of bugs
- Reference for various APIs
- Better editor assitance
- Ability to pull in libraries like
zod
which can use TS schemas to generate checking fns
Would certainly love to hear opinions on such a move for people -- this would introduce a build step into building jco
but I think it may be worth it for the benefits above.