From 1f79a1b09577e5fab5f5b4e9376525cef379a4bd Mon Sep 17 00:00:00 2001 From: wangzezhen Date: Wed, 19 Oct 2022 09:51:55 +0800 Subject: [PATCH] fix navigation Signed-off-by: wangzezhen Change-Id: Id5fe3f63cc3f3e34a3ebeb061d097f6cde705ecb --- api/@internal/component/ets/nav_destination.d.ts | 4 ++-- api/@internal/component/ets/nav_router.d.ts | 2 +- api/@internal/component/ets/navigation.d.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/@internal/component/ets/nav_destination.d.ts b/api/@internal/component/ets/nav_destination.d.ts index 3868d8de29..ff5b52d3a3 100644 --- a/api/@internal/component/ets/nav_destination.d.ts +++ b/api/@internal/component/ets/nav_destination.d.ts @@ -40,7 +40,7 @@ declare interface NavDestinationCustomTitle { * Sets the custom title builder. * @since 9 */ - builder: string; + builder: CustomBuilder; /** * Sets the custom title height. @@ -55,7 +55,7 @@ declare interface NavDestinationCustomTitle { */ declare interface NavDestinationInterface { /** - * constructor. + * Constructor. * @since 9 */ (): NavDestinationAttribute; diff --git a/api/@internal/component/ets/nav_router.d.ts b/api/@internal/component/ets/nav_router.d.ts index f6d6718aa1..44ea2af9b8 100644 --- a/api/@internal/component/ets/nav_router.d.ts +++ b/api/@internal/component/ets/nav_router.d.ts @@ -19,7 +19,7 @@ */ declare interface NavRouterInterface { /** - * constructor. + * Constructor. * @since 9 */ (): NavRouterAttribute; diff --git a/api/@internal/component/ets/navigation.d.ts b/api/@internal/component/ets/navigation.d.ts index 74d0480687..3cec4a169d 100644 --- a/api/@internal/component/ets/navigation.d.ts +++ b/api/@internal/component/ets/navigation.d.ts @@ -40,7 +40,7 @@ declare interface NavigationCustomTitle { * Sets the custom title builder. * @since 9 */ - builder: string; + builder: CustomBuilder; /** * Sets the custom title height. -- Gitee