typicode / lowdb

Simple and fast JSON database
MIT License
21.35k stars 918 forks source link

Update Low.ts #510

Closed ericzorn93 closed 2 years ago

ericzorn93 commented 2 years ago

Adding generic interface to conform to adapter

typicode commented 2 years ago

Hi @ericzorn93,

Thank you for the PR :)

Unless if you had an issue with Low signature, not sure that it's needed. Also while Low and adapters shares read and write, they have different signature (Low's read returns nothing vs adapter's read should return data).

ericzorn93 commented 2 years ago

No problem. I can close this PR, I wasn't sure if this was a small oversight but that makes sense. Thank you for clarifying.