mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
修改unknown为Object类型
Signed-off-by: humeng <humeng13@huawei.com>
This commit is contained in:
parent
9bc7006813
commit
48c7470ff9
@ -111,7 +111,7 @@ export declare class NavPushPathHelper {
|
||||
*
|
||||
* @param { string } moduleName - Module name
|
||||
* @param { string } name - Indicates the name of the route page to be pushed.
|
||||
* @param { unknown } param - Indicates the detailed parameter of the route page to be pushed.
|
||||
* @param { Object } param - Indicates the detailed parameter of the route page to be pushed.
|
||||
* @param { boolean } [animated] - Indicates whether the transition is animated.
|
||||
* @returns { Promise<void> } The promise returned by the function.
|
||||
* @throws { BusinessError } 300001 - hsp silent install fail.
|
||||
@ -119,7 +119,7 @@ export declare class NavPushPathHelper {
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
pushPathByName(moduleName: string, name: string, param: unknown, animated?: boolean): Promise<void>;
|
||||
pushPathByName(moduleName: string, name: string, param: Object, animated?: boolean): Promise<void>;
|
||||
|
||||
/**
|
||||
* Pushes the specified route page into the stack.
|
||||
|
Loading…
Reference in New Issue
Block a user