From f80eb22f20cf5a5f7a9a5c20600db07bac49bfac Mon Sep 17 00:00:00 2001 From: zhengjiangliang Date: Thu, 13 Oct 2022 09:05:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AA=97=E5=8F=A3=E9=94=99=E8=AF=AF=E7=A0=81?= =?UTF-8?q?=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I361187c98ee3c0a55a9ee0245f9e710ec7534f75 Signed-off-by: zhengjiangliang --- api/@ohos.window.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 1ea88ecd65..842d868fc1 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -615,7 +615,7 @@ declare namespace window { /** * Indicates Parent window id */ - parentId?: string + parentId?: number } /** @@ -627,7 +627,7 @@ declare namespace window { * @throws {BusinessError} 1300001 - If window has created * @throws {BusinessError} 1300006 - If window context is abnormally */ - function createWindow({ name, windowType, ctx, displayId, parentId = "" }: Configuration, callback: AsyncCallback): void; + function createWindow(config: Configuration, callback: AsyncCallback): void; /** * Create a window with a specific configuration @@ -638,7 +638,7 @@ declare namespace window { * @throws {BusinessError} 1300001 - If window has created * @throws {BusinessError} 1300006 - If window context is abnormally */ - function createWindow({ name, windowType, ctx, displayId, parentId = "" }: Configuration): Promise; + function createWindow(config: Configuration): Promise; /** * Create a sub window with a specific id and type, only support 7. -- Gitee