///
///
namespace PouchDBBrowserTests {
function testConstructor() {
type MyModel = { numericProperty: number };
let model: PouchDB.Core.Document;
let db = new PouchDB('myDb', {
adapter: 'http',
});
db = new PouchDB('myDb', {
adapter: 'leveldb',
});
db.get('model').then((result) => model);
db.viewCleanup().catch((error) => {
});
}
}