From c56fc649c8ff6993338370910ea7f2d050204d35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=9C=E5=BA=86=E6=B3=89?= Date: Fri, 9 Feb 2024 09:27:54 +0800 Subject: [PATCH] Update uts-for-android.md --- docs/plugin/uts-for-android.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plugin/uts-for-android.md b/docs/plugin/uts-for-android.md index e1285bb7..59eed4b0 100644 --- a/docs/plugin/uts-for-android.md +++ b/docs/plugin/uts-for-android.md @@ -1226,7 +1226,7 @@ console.log(permissionArray.toMutableList()) ``` // 建议的写法 -let a:IntArray = xxx.getInfo() +let a = xxx.getInfo() // 这样是没必要的,如果一定要这样写,必须要明确了解到kotlin依赖返回的数据结构,否能可能会因为类型错误,导致编译报错 let a:IntArray = xxx.getInfo() -- GitLab