Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Commit d725246

Browse files
committed
Add type property for reachdown (Level/community#82)
1 parent 050e3ca commit d725246

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/levelup.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,8 @@ LevelUP.prototype.toString = function () {
340340
return 'LevelUP'
341341
}
342342

343+
LevelUP.prototype.type = 'levelup'
344+
343345
function maybeError (db, callback) {
344346
if (!db._isOpening() && !db.isOpen()) {
345347
process.nextTick(callback, new ReadError('Database is not open'))

0 commit comments

Comments
 (0)