From d1c8f72ab859873b8c74373e5a55e185dce82044 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 19 Feb 2023 17:47:33 -0500 Subject: [PATCH] *Add extra promise return type --- src/resolverModule.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resolverModule.ts b/src/resolverModule.ts index 0370a0a..9690f34 100644 --- a/src/resolverModule.ts +++ b/src/resolverModule.ts @@ -2,7 +2,7 @@ import type { DNSResult, ResolverOptions } from "./types.js"; import { getTld } from "./util.js"; declare class ResolverRegistry { - get resolvers(): Set; + get resolvers(): Set | Promise>; resolve( domain: string, options?: ResolverOptions,