While upgrading to the latest version I've updated to use the types provided by lmdb-store, but found a couple inconsistencies with the way we use the library, which seem to be supported just not reflected in the published types:
db.getRange() options are optional
rootDb.openDB() accepts options with a name property
open() accepts a maxReaders option
Tested these changes with our usage by copying the index.d.ts file into our node_modules directory.
While upgrading to the latest version I've updated to use the types provided by lmdb-store, but found a couple inconsistencies with the way we use the library, which seem to be supported just not reflected in the published types:
db.getRange()
options are optionalrootDb.openDB()
accepts options with aname
propertyopen()
accepts amaxReaders
optionTested these changes with our usage by copying the
index.d.ts
file into our node_modules directory.