From 1239b2230372434c8561aaae8a9458d050ddcf18 Mon Sep 17 00:00:00 2001 From: xiongqiao Date: Mon, 4 Sep 2023 10:44:41 +0800 Subject: [PATCH] =?UTF-8?q?fixed=208c010e5=20from=20https://gitee.com/xion?= =?UTF-8?q?gqiao3/docs/pulls/23730=20=E6=89=93=E5=8D=B0=E6=95=B4=E6=94=B9?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=96=87=E6=A1=A3=E4=BB=A3=E7=A0=81=E5=91=8A?= =?UTF-8?q?=E8=AD=A6=20Signed-off-by:xiongqiao3@huawei.com?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xiongqiao --- zh-cn/application-dev/reference/apis/js-apis-print.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-print.md b/zh-cn/application-dev/reference/apis/js-apis-print.md index 7677855f8b..d62001460e 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-print.md +++ b/zh-cn/application-dev/reference/apis/js-apis-print.md @@ -178,7 +178,7 @@ import print from '@ohos.print'; let file = ['file://data/print/a.png', 'file://data/print/b.png']; // 或者传入fd // let file = ['fd://1', 'fd://2']; -print.print(file).then((printTask) => { +print.print(file).then((printTask: print.PrintTask) => { printTask.on('succeed', () => { console.log('print state is succeed') }) -- GitLab