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
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/abstract-leveldown
Credits
These definitions were written by Meirion Hughes, and Daniel Byrne.