.
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* Formats a hostname so that it is a valid host that can be fetched by wrapping
|
||||
* IPv6 hosts with brackets.
|
||||
* @param hostname
|
||||
* @returns
|
||||
*/
|
||||
export declare function formatHostname(hostname: string): string;
|
||||
Reference in New Issue
Block a user