JSPM

@types/pouchdb-adapter-localstorage

6.1.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 27507
  • Score
    100M100P100Q162240F
  • License MIT

TypeScript definitions for pouchdb-adapter-localstorage

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/pouchdb-adapter-localstorage) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Installation

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

    Summary

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

    Details

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

    index.d.ts

    /// <reference types="pouchdb-core" />
    
    declare namespace PouchDB {
        namespace LocalStorageAdapter {
            interface LocalStorageAdapterConfiguration extends Configuration.LocalDatabaseConfiguration {
                adapter: "localstorage";
            }
        }
    
        interface Static {
            new<Content extends {}>(
                name: string | null,
                options: LocalStorageAdapter.LocalStorageAdapterConfiguration,
            ): Database<Content>;
        }
    }
    
    declare module "pouchdb-adapter-localstorage" {
        const plugin: PouchDB.Plugin;
        export = plugin;
    }
    

    Additional Details

    Credits

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