@types/level-js
Advanced tools
+14
-13
@@ -9,20 +9,21 @@ // Type definitions for level-js 4.0 | ||
| export interface Level extends AbstractLevelDOWN { | ||
| readonly location: string; | ||
| readonly prefix: string; | ||
| readonly version: string | number; | ||
| destroy(location: string, cb: (err: Error | undefined) => void): void; | ||
| destroy(location: string, prefix: string, cb: (err: Error | undefined) => void): void; | ||
| interface Level extends AbstractLevelDOWN { | ||
| readonly location: string; | ||
| readonly prefix: string; | ||
| readonly version: string | number; | ||
| destroy(location: string, cb: (err: Error | undefined) => void): void; | ||
| destroy(location: string, prefix: string, cb: (err: Error | undefined) => void): void; | ||
| } | ||
| export interface LevelOptions { | ||
| readonly prefix?: string; | ||
| readonly version?: string | number; | ||
| interface LevelOptions { | ||
| readonly prefix?: string; | ||
| readonly version?: string | number; | ||
| } | ||
| export interface LevelConstructor { | ||
| new (location: string, options?: LevelOptions): Level; | ||
| (location: string, options?: LevelOptions): Level; | ||
| interface LevelConstructor { | ||
| new (location: string, options?: LevelOptions): Level; | ||
| (location: string, options?: LevelOptions): Level; | ||
| } | ||
| export const Level: LevelConstructor; | ||
| declare const Level: LevelConstructor; | ||
| export = Level; |
| { | ||
| "name": "@types/level-js", | ||
| "version": "4.0.0", | ||
| "version": "4.0.1", | ||
| "description": "TypeScript definitions for level-js", | ||
@@ -24,4 +24,4 @@ "license": "MIT", | ||
| }, | ||
| "typesPublisherContentHash": "1c58b81109e6bc6ca7f60ba1adc6e91e03ede80f3e714cd68fcfab5afef0750e", | ||
| "typesPublisherContentHash": "29ba2776ae1ef1c05382450399d05bc0c2512b3983411042ac145adb0c1381c5", | ||
| "typeScriptVersion": "2.3" | ||
| } |
@@ -5,3 +5,3 @@ # Installation | ||
| # Summary | ||
| This package contains type definitions for level-js ( https://github.com/Level/level-js ). | ||
| This package contains type definitions for level-js (https://github.com/Level/level-js). | ||
@@ -12,3 +12,3 @@ # Details | ||
| Additional Details | ||
| * Last updated: Sun, 16 Jun 2019 07:05:06 GMT | ||
| * Last updated: Wed, 19 Jun 2019 23:09:37 GMT | ||
| * Dependencies: @types/abstract-leveldown | ||
@@ -15,0 +15,0 @@ * Global values: none |
23
4.55%3334
-0.71%