diff --git a/packages/api/src/webviewWindow.ts b/packages/api/src/webviewWindow.ts index 289902b95..ed1ebcfe9 100644 --- a/packages/api/src/webviewWindow.ts +++ b/packages/api/src/webviewWindow.ts @@ -102,8 +102,8 @@ class WebviewWindow { * Gets the Webview for the webview associated with the given label. * @example * ```typescript - * import { Webview } from '@tauri-apps/api/webviewWindow'; - * const mainWebview = Webview.getByLabel('main'); + * import { WebviewWindow } from '@tauri-apps/api/webviewWindow'; + * const mainWebview = WebviewWindow.getByLabel('main'); * ``` * * @param label The webview label.