pouchdb.d.ts
pouchdb.d.ts copied to clipboard
`put` overload resolution
This code:
db.put({
_id: info.id,
_rev: info.rev,
version: 'second'
}, (err, info2) => { // ...
Is choosing the NewDoc
overload. It should be choosing the ExistingDoc
overload.