diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 889334c5502d2f19a1c9c469b26adc52bdb35c97..a9991673c647c2995427d54ab63101e8a93722f1 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -3282,7 +3282,7 @@ declare namespace window { * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - export function getLastWindow(ctx: BaseContext, callback: AsyncCallback): void; + function getLastWindow(ctx: BaseContext, callback: AsyncCallback): void; /** * Get the final show window. @@ -3325,7 +3325,7 @@ declare namespace window { * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - export function getLastWindow(ctx: BaseContext): Promise; + function getLastWindow(ctx: BaseContext): Promise; /** * Minimize all app windows.