*import only the type RpcNetwork

This commit is contained in:
Derrick Hammer 2022-08-19 15:49:30 -04:00
parent 09a5a605a7
commit 7a1a2d2150
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 13 additions and 14 deletions

View File

@ -1,6 +1,6 @@
import type { DNSResult, ResolverOptions } from "./types.js";
import { getTld } from "./util.js";
import {RpcNetwork} from "@lumeweb/dht-rpc-client";
import type { RpcNetwork } from "@lumeweb/dht-rpc-client";
declare class ResolverRegistry {
private _resolvers;
@ -17,7 +17,6 @@ declare class ResolverRegistry {
clear(): void;
}
export interface ResolverModule {
constructor(resolver: ResolverRegistry);