Installation
npm install --save @types/pouchdb-adapter-memory
Summary
This package contains type definitions for pouchdb-adapter-memory (https://pouchdb.com/).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-memory.
declare namespace PouchDB {
namespace MemoryAdapter {
interface MemoryAdapterConfiguration extends Configuration.LocalDatabaseConfiguration {
adapter: "memory";
}
}
interface Static {
new<Content extends {}>(
name: string | null,
options: MemoryAdapter.MemoryAdapterConfiguration,
): Database<Content>;
}
}
declare module "pouchdb-adapter-memory" {
const plugin: PouchDB.Plugin;
export = plugin;
}
Additional Details
Credits
These definitions were written by Simon Paulger, Brian Geppert, and Frederico Galvão.