securityos/node_modules/next/dist/server/lib/format-hostname.d.ts

8 lines
215 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
/**
* 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;