mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 14:13:45 +00:00
fix
Signed-off-by: x30043723 <xieqiongyang@huawei.com> Change-Id: I1162ec1f3c15c44cafe1b2a47c99458eeb289d37
This commit is contained in:
parent
e0a5a1faeb
commit
20331b0b97
4
api/@ohos.ability.featureAbility.d.ts
vendored
4
api/@ohos.ability.featureAbility.d.ts
vendored
@ -196,7 +196,7 @@ declare namespace featureAbility {
|
||||
function connectAbility(request: Want, options: ConnectOptions): number;
|
||||
|
||||
/**
|
||||
* The callback interface was connect successfully.
|
||||
* Disconnects ability to a Service ability.
|
||||
*
|
||||
* @param { number } connection - The number code of the ability connected
|
||||
* @param { AsyncCallback<void> } callback - Returns the disconnection result in the form of callback.
|
||||
@ -207,7 +207,7 @@ declare namespace featureAbility {
|
||||
function disconnectAbility(connection: number, callback: AsyncCallback<void>): void;
|
||||
|
||||
/**
|
||||
* The callback interface was connect successfully.
|
||||
* Disconnects ability to a Service ability.
|
||||
*
|
||||
* @param { number } connection - The number code of the ability connected
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
|
Loading…
Reference in New Issue
Block a user