Fix Domain Alive Check

This commit is contained in:
SukkaW
2024-11-09 01:42:59 +08:00
parent 42e0cb5b9f
commit 6dc63fa667
2 changed files with 13 additions and 15 deletions

4
Build/mod.d.ts vendored
View File

@@ -8,7 +8,9 @@ declare module 'dns2' {
/** @example dns.google.com */
dns: string,
/** @description whether to use HTTP or HTTPS */
http: boolean
http: boolean,
get?: (url: string) => any
}
export type DnsResolver<T = DnsResponse> = (name: string, type: PacketQuestion) => Promise<T>;