Closed
Description
This definition file/project (pouchdb.d.ts) should not create it's own definition of a Promise/Thenable
, (edit currently defined at these lines) even if said definition is A+ and/or spec compliant, because it makes extending the api invasive if anyone does global.Promise = require('bluebird');
as suggested by the corresponding blog post.
We should expect definitions for it instead, like this one, so that any other definition file that happens to override the standard (like this other one) can be used by editors and IDEs correctly.
I'll try and work on a PR for this, but can't guarantee it.