npm.io
6.1.6 • Published 2 years ago

@types/pouchdb-adapter-fruitdown

Licence
MIT
Version
6.1.6
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

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

Summary

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

Details

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

index.d.ts

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

declare namespace PouchDB {
    namespace FruitDOWNAdapter {
        interface FruitDOWNAdapterConfiguration extends Configuration.LocalDatabaseConfiguration {
            adapter: "fruitdown";
        }
    }

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

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

Additional Details

Credits

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