diff --git a/api/@ohos.router.d.ts b/api/@ohos.router.d.ts index 74a6234d489d2dc72ecebd5e72d6c4cf458b093b..92b1ec6badc9aef6b5023bb407632d0bb9cfb7dc 100644 --- a/api/@ohos.router.d.ts +++ b/api/@ohos.router.d.ts @@ -49,20 +49,6 @@ declare namespace router { params?: Object; } - /** - * @since 8 - */ - interface BackRouterOptions { - - /** - * Returns to the page of the specified path. - * If the page with the specified path does not exist in the page stack, router.back() is called by default. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 - */ - path?: string; - } - /** * @since 8 */ @@ -119,7 +105,7 @@ declare namespace router { * @param options Options. * @since 8 */ - function back(options: BackRouterOptions):void; + function back(options?: RouterOptions ):void; /** * Clears all historical pages and retains only the current page at the top of the stack.