From 749da6c7c6d5170f2f2dd3f94535d99a0ea90422 Mon Sep 17 00:00:00 2001 From: zhirong <215782872@qq.com> Date: Tue, 21 Jun 2022 20:33:00 +0800 Subject: [PATCH] fixed b25ba4f from https://gitee.com/yang-zhirong6/interface_sdk-js/pulls/1997 delete StageModelOnly before API 8 Signed-off-by: zhirong <215782872@qq.com> Change-Id: I747ebddef72f7071c51256fce21edb01b49bbfb9 --- api/@ohos.window.d.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 659499edb6..a1ac248ae7 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -33,7 +33,6 @@ declare namespace window { TYPE_APP, /** * System alert. - * @StageModelOnly */ TYPE_SYSTEM_ALERT, /** @@ -495,7 +494,6 @@ declare namespace window { * Get the final show window. * @param ctx Indicates the context on which the window depends * @since 8 - * @StageModelOnly */ function getTopWindow(ctx: Context): Promise; @@ -503,7 +501,6 @@ declare namespace window { * Get the final show window. * @param ctx Indicates the context on which the window depends * @since 8 - * @StageModelOnly */ function getTopWindow(ctx: Context, callback: AsyncCallback): void; -- Gitee