Skip to content

Commit bd85588

Browse files
committed
59192: Fix dependent import/usage
1 parent ae338b5 commit bd85588

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

types/level-ttl/level-ttl-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { LevelUp as levelup } from 'levelup';
1+
import levelup = require('levelup');
22
import { AbstractLevelDOWN } from 'abstract-leveldown';
33
import ttl, { LevelTTL, LevelTTLOptions } from 'level-ttl';
44

types/level/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import { AbstractOptions, ErrorCallback } from "abstract-leveldown";
77

88
import EncodingDown from "encoding-down";
99

10-
import { LevelUp, errors } from "levelup";
10+
import levelup = require("levelup");
1111

1212
declare namespace Level {
13-
interface LevelDB<K = any, V = any> extends LevelUp<EncodingDown<K, V>> {
14-
errors: typeof errors;
13+
interface LevelDB<K = any, V = any> extends levelup.LevelUp<EncodingDown<K, V>> {
14+
errors: typeof levelup.errors;
1515
}
1616
interface Constructor {
1717
(location: string, options?: AbstractOptions, callback?: ErrorCallback): LevelDB;

types/subleveldown/subleveldown-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { LevelUp as levelup } from 'levelup';
1+
import levelup = require('levelup');
22
import sub from 'subleveldown';
33
import { AbstractLevelDOWN } from 'abstract-leveldown';
44

0 commit comments

Comments
 (0)