maritz / nohm

node.js object relations mapper (orm) for redis
http://maritz.github.io/nohm/
MIT License
500 stars 64 forks source link

Remove void return type for propertyDiff() #186

Open maritz opened 2 years ago

maritz commented 2 years ago

In the branch where key argument is supplied, check if onePropertyDiff() returns void, then return empty array statically. Then the void return typing can be removed entirely.