Skip to content

Commit def4c12

Browse files
committed
fix(pouchdb): suppress deprecation warning
1 parent 9f5876f commit def4c12

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/core.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,7 @@ function SqlPouch(opts: OpenDatabaseOptions, cb: (err: any) => void) {
218218
// Do nothing
219219
}
220220

221-
api.type = () => {
222-
return 'sqlite'
223-
}
221+
api._remote = false
224222

225223
api._id = (callback: (err: any, id?: string) => void) => {
226224
callback(null, instanceId)

0 commit comments

Comments
 (0)