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

3.0.5 • Public • Published

Installation

npm install --save @types/memdown

Summary

This package contains type definitions for memdown (https://github.com/Level/memdown).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/memdown.

index.d.ts

import { AbstractLevelDOWN } from "abstract-leveldown";

export interface MemDown<K, V> extends AbstractLevelDOWN<K, V> {}

export interface MemDownConstructor {
    // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
    new<K = any, V = any>(): MemDown<K, V>;
    // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
    <K = any, V = any>(): MemDown<K, V>;
}

export const MemDown: MemDownConstructor;
export default MemDown;

Additional Details

Credits

These definitions were written by Meirion Hughes, and Daniel Byrne.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/memdown

Weekly Downloads

3,231

Version

3.0.5

License

MIT

Unpacked Size

3.78 kB

Total Files

5

Last publish

Collaborators

  • types