diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index dcd2c01ac83f2e2837cf544051376a73e5f8532b..e952c48292cc01251e05007bf2ddcb4c059acc32 100644 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -1785,3 +1785,10 @@ declare class WebAttribute extends CommonMethod { declare const Web: WebInterface; declare const WebInstance: WebAttribute; + +declare module "WebComponent" { + module "WebComponent" { + //@ts-ignore + export { WebController }; + } +} \ No newline at end of file diff --git a/api/@ohos.web.webview.d.ts b/api/@ohos.web.webview.d.ts index 0b01063a094c741014465ea2d2b61741ba18874d..88a4d06954865428403b8fa8ee83f2dcb81dcc9e 100644 --- a/api/@ohos.web.webview.d.ts +++ b/api/@ohos.web.webview.d.ts @@ -14,6 +14,7 @@ */ import {AsyncCallback} from "./basic"; +import { WebController } from 'WebComponent'; /** * This module provides the capability to manage web modules.