*Add extra promise return type

This commit is contained in:
Derrick Hammer 2023-02-19 17:47:33 -05:00
parent 14053e3a08
commit d1c8f72ab8
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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,