pouchdb.d.ts icon indicating copy to clipboard operation
pouchdb.d.ts copied to clipboard

`put` overload resolution

Open AGBrown opened this issue 9 years ago • 0 comments

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.

AGBrown avatar May 12 '15 11:05 AGBrown