From 40781c821d65e6370bf40a5540144f7f4b6b7509 Mon Sep 17 00:00:00 2001 From: franco sanchez Date: Tue, 6 Feb 2024 18:08:37 -0300 Subject: [PATCH] docs: docs(api-javascript): update transformIndexHtml types --- docs/guide/api-javascript.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/guide/api-javascript.md b/docs/guide/api-javascript.md index 4536f14..21240b1 100644 --- a/docs/guide/api-javascript.md +++ b/docs/guide/api-javascript.md @@ -106,7 +106,11 @@ interface ViteDevServer { /** * Aplica las transformaciones HTML integradas en Vite y las transformaciones HTML de cualquier plugin. */ - transformIndexHtml(url: string, html: string): Promise + transformIndexHtml( + url: string, + html: string, + originalUrl?: string, + ): Promise /** * Carga una URL dada como un módulo instanciado para SSR. */