From c47e74e4bae2ed4381cb11399e223de5fc874fc6 Mon Sep 17 00:00:00 2001 From: 189******51 Date: Fri, 25 Aug 2023 08:41:43 +0000 Subject: [PATCH] =?UTF-8?q?IssueNo:=20#I7UZUJ:[=E6=96=B0=E9=9C=80=E6=B1=82?= =?UTF-8?q?]:=20Rectify=20the=20arkts=20syntax=20Description:=20Rectify=20?= =?UTF-8?q?the=20arkts=20syntax=20Sig:=20SIG=5FApplicaitonFramework=20Feat?= =?UTF-8?q?ure=20or=20Bugfix:=20Feature=20Binary=20Source:=20No?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 189******51 --- zh-cn/application-dev/reference/apis/js-apis-installer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-installer.md b/zh-cn/application-dev/reference/apis/js-apis-installer.md index a68416bfaf..64dc39275f 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-installer.md +++ b/zh-cn/application-dev/reference/apis/js-apis-installer.md @@ -271,7 +271,7 @@ try { console.info('install successfully.'); } }); - }).catch(error => { + }).catch((error: BusinessError) => { console.error('getBundleInstaller failed. Cause: ' + error.message); }); } catch (error) { -- GitLab