*Add extra promise return type
This commit is contained in:
parent
14053e3a08
commit
d1c8f72ab8
|
@ -2,7 +2,7 @@ import type { DNSResult, ResolverOptions } from "./types.js";
|
|||
import { getTld } from "./util.js";
|
||||
|
||||
declare class ResolverRegistry {
|
||||
get resolvers(): Set<ResolverModule>;
|
||||
get resolvers(): Set<ResolverModule> | Promise<Set<ResolverModule>>;
|
||||
resolve(
|
||||
domain: string,
|
||||
options?: ResolverOptions,
|
||||
|
|
Loading…
Reference in New Issue