@types/pouchdb-adapter-leveldb
TypeScript icon, indicating that this package has built-in type declarations

6.1.6 • Public • Published

Installation

npm install --save @types/pouchdb-adapter-leveldb

Summary

This package contains type definitions for pouchdb-adapter-leveldb (https://pouchdb.com/).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-leveldb.

index.d.ts

/// <reference types="pouchdb-core" />

declare namespace PouchDB {
    namespace LevelDbAdapter {
        interface LevelDbAdapterConfiguration extends Configuration.LocalDatabaseConfiguration {
            adapter: "leveldb";
        }
    }

    interface Static {
        new<Content extends {}>(
            name: string | null,
            options: LevelDbAdapter.LevelDbAdapterConfiguration,
        ): Database<Content>;
    }
}

declare module "pouchdb-adapter-leveldb" {
    const plugin: PouchDB.Plugin;
    export = plugin;
}

Additional Details

Credits

These definitions were written by Simon Paulger, Brian Geppert, and Frederico Galvão.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/pouchdb-adapter-leveldb

Weekly Downloads

18,184

Version

6.1.6

License

MIT

Unpacked Size

4.2 kB

Total Files

5

Last publish

Collaborators

  • types