Andrew Brown

Results 28 issues of Andrew Brown

The readme file for the dt repo (i.e. for the d.ts usage) needs to be updated to explain how to use either the callback or promise ctors, and why there...

core task

Related to #1 Need to work on overload resolution. Example: **A:** ``` javascript get(docId: string, options?: Options, callback?: async.Callback): void; ``` _vs._ **B:** ``` javascript get(docId: string, options: Options, callback?:...

core task

See http://pouchdb.com/2015/08/03/pouchdb-4.0.0-ballast-overboard.html for a list of deprecations and additions.

PRs wanted
core task

Needs: - [ ] Complete items in [milestones/p3.4.0-v0.1.0](https://github.com/AGBrown/pouchdb.d.ts/milestones/p3.4.0-v0.1.0) - [ ] Review pouchdb versions. `p3.4.0-v0.1.0` should correspond to `v3.4.0` - any new features for later pouchdb versions should be appropriately...

core task

### Summary The api docs imply two (and _only_ two) overloads for `remove`, 1. `remove(docId: string, docRev: string, options?: { ...` 2. `remove(doc: { _rev: string; _id: string; }, options?:...

enhancement
upforgrabs

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

bug
PRs wanted
core task

What is the shape of an error (as passed to a callback/promise)? 1. Which these properties below are optional/mandatory and what do they mean? 2. What other properties exist on...

PRs wanted
core task

I don't know how much of this will be possible, but I would have thought the new pouchdb.d.ts in this repo should be able to pass many of the tests...

enhancement
PRs wanted

Each api version change theoretically needs a versioned file published (and maintained) for it as per the [DefinitelyTyped contribution guide](http://definitelytyped.org/guides/contributing.html#version). We do not want to discard the [old pouch.d.ts file](https://github.com/borisyankov/DefinitelyTyped/blob/176249d/pouchDB/pouch.d.ts)...

PRs wanted
core task

They aren't correct as they were put in as the default MIT license from git (with my copyright in it) when I got this off the ground on a lazy...

PRs wanted
core task