Installation
npm install --save @types/pouchdb-adapter-http
Summary
This package contains type definitions for pouchdb-adapter-http (https://pouchdb.com/).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-http.
index.d.ts
/// <reference types="pouchdb-core" />
declare namespace PouchDB {
namespace HttpAdapter {
interface HttpAdapterConfiguration extends Configuration.RemoteDatabaseConfiguration {
adapter: "http";
}
}
interface Static {
new<Content extends {}>(name: string | null, options: HttpAdapter.HttpAdapterConfiguration): Database<Content>;
}
}
declare module "pouchdb-adapter-http" {
const plugin: PouchDB.Plugin;
export = plugin;
}
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/pouchdb-core
Credits
These definitions were written by Simon Paulger, Brian Geppert, and Frederico Galvão.