tywalch / electrodb

A DynamoDB library to ease the use of modeling complex hierarchical relationships and implementing a Single Table Design while keeping your query code readable.
MIT License
1.03k stars 66 forks source link

Adds JSDoc support for EventManager #327

Open niklaswallerstedt opened 1 year ago

niklaswallerstedt commented 1 year ago

This PR enables typechecking for JS and the Event Manager class.

Since the project is mostly written in javascript, I thought it would be suitable to start to add gradual types to the codebase. I've only started with the Event Manager class for you to get a feel of what it might look like and the DX around it.

netlify[bot] commented 1 year ago

Deploy Preview for electrodb-dev canceled.

Name Link
Latest commit 039e6a607f056810b52a8847613b32446a52f056
Latest deploy log https://app.netlify.com/sites/electrodb-dev/deploys/655904dfee9fe400088b0b34
tywalch commented 1 year ago

This is week is crazy for me, I hope to review this over the weekend 👍