From 0b51b8d3582517d20aa0ad76c3ded71f8ed9536f Mon Sep 17 00:00:00 2001 From: shawn_he Date: Tue, 22 Mar 2022 10:19:18 +0800 Subject: [PATCH] update docs Signed-off-by: shawn_he --- en/application-dev/reference/apis/js-apis-update.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/application-dev/reference/apis/js-apis-update.md b/en/application-dev/reference/apis/js-apis-update.md index 98cbc966fb..03361eb461 100644 --- a/en/application-dev/reference/apis/js-apis-update.md +++ b/en/application-dev/reference/apis/js-apis-update.md @@ -325,7 +325,7 @@ Installs the update package. This API uses an asynchronous callback to return th | Name | Type | Mandatory| Description | | -------- | -------- | ---- | ---------------------- | -| callback | AsyncCallback\ | Yes | Callback used to return the result.| +| callback | AsyncCallback\| Yes | Callback used to return the result.| **Example** @@ -386,7 +386,7 @@ Sets the update policy. This API uses an asynchronous callback to return the res | Name | Type | Mandatory| Description | | -------- | ----------------------------- | ---- | ------------ | | policy | [UpdatePolicy](#updatepolicy) | Yes | Update policy to set.| -| callback | AsyncCallback\ | Yes | Callback used to return the result.| +| callback | AsyncCallback | Yes | Callback used to return the result.| **Example** -- GitLab