summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
authorThanapat Chotipun <66824385+PatrickChoDev@users.noreply.github.com>2022-05-04 01:04:20 +0700
committerGitHub <noreply@github.com>2022-05-03 20:04:20 +0200
commite3954df8c5f8a5dab7102ebae77dfc217fb9f098 (patch)
treeded004147738a564f349c9850ad24462bae76128 /cli/dts/lib.deno.ns.d.ts
parent3f08a40412d89bd54222ad51fc1aaeb508e2e5e7 (diff)
feat(ext/net): add "NS" record support in Deno.resolveDns API (#14372)
Diffstat (limited to 'cli/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/dts/lib.deno.ns.d.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts
index 2caf05085..8d7f5f269 100644
--- a/cli/dts/lib.deno.ns.d.ts
+++ b/cli/dts/lib.deno.ns.d.ts
@@ -2955,6 +2955,7 @@ declare namespace Deno {
| "ANAME"
| "CNAME"
| "MX"
+ | "NS"
| "PTR"
| "SRV"
| "TXT";
@@ -2987,7 +2988,7 @@ declare namespace Deno {
export function resolveDns(
query: string,
- recordType: "A" | "AAAA" | "ANAME" | "CNAME" | "PTR",
+ recordType: "A" | "AAAA" | "ANAME" | "CNAME" | "NS" | "PTR",
options?: ResolveDnsOptions,
): Promise<string[]>;