From a35600cbd7403430637388ee7e4cb571cbe0f6ff Mon Sep 17 00:00:00 2001 From: Tony <68118705+Legend-Master@users.noreply.github.com> Date: Thu, 29 May 2025 17:54:22 +0800 Subject: [PATCH] docs: fix `setAutoResize` typo (#13526) --- packages/api/src/webview.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/src/webview.ts b/packages/api/src/webview.ts index 8dd00c14e..c691669f1 100644 --- a/packages/api/src/webview.ts +++ b/packages/api/src/webview.ts @@ -497,7 +497,7 @@ class Webview { * @example * ```typescript * import { getCurrentWebview } from '@tauri-apps/api/webview'; - * await getCurrentWebview().setAutoReisze(true); + * await getCurrentWebview().setAutoResize(true); * ``` * * @returns A promise indicating the success or failure of the operation.