UNPKG

vitepress-openapi

Version:

Generate VitePress API Documentation from OpenAPI Specification.

6 lines (5 loc) 241 B
/** * Minifies a string of HTML by replacing multiple whitespace characters with a single space * and trimming the result. This helps prevent hydration mismatches in VitePress. */ export declare function minifyHtml(html: string): string;