diff --git a/packages/taro/types/taro.hooks.d.ts b/packages/taro/types/taro.hooks.d.ts index 330f94984fe6..18af18d38b31 100644 --- a/packages/taro/types/taro.hooks.d.ts +++ b/packages/taro/types/taro.hooks.d.ts @@ -61,7 +61,7 @@ declare namespace Taro { /** * 获取当前路由参数。 */ - function useRouter> = Partial>>(): RouterInfo + function useRouter> = Partial>>(dynamic?: boolean): RouterInfo /** * 导航栏的标题被点击时的回调。