// Type definitions for pouchdb-http 6.1 // Project: https://pouchdb.com/, https://github.com/pouchdb/pouchdb // Definitions by: Simon Paulger , Brian Geppert , Frederico Galvão // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 /// declare namespace PouchDB { namespace HttpAdapter { interface HttpAdapterConfiguration extends Configuration.RemoteDatabaseConfiguration { adapter: 'http'; } } interface Static { new(name: string | null, options: HttpAdapter.HttpAdapterConfiguration ): Database; } } declare module 'pouchdb-adapter-http' { const plugin: PouchDB.Plugin; export = plugin; }