fix: Resolve TypeScript errors
Signed-off-by: Hermes Agent <hermes@nosuchhost>
This commit is contained in:
7
client/node_modules/levelup/lib/common.js
generated
vendored
Normal file
7
client/node_modules/levelup/lib/common.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
exports.getCallback = function (options, callback) {
|
||||
return typeof options === 'function' ? options : callback
|
||||
}
|
||||
|
||||
exports.getOptions = function (options) {
|
||||
return typeof options === 'object' && options !== null ? options : {}
|
||||
}
|
||||
Reference in New Issue
Block a user