From e5b340e6c19d13e8f0eabefaa965e7680ac17bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=9C=E5=BA=86=E6=B3=89?= Date: Fri, 5 May 2023 10:52:07 +0800 Subject: [PATCH] Update uts-plugin.md --- docs/plugin/uts-plugin.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/plugin/uts-plugin.md b/docs/plugin/uts-plugin.md index 740af9644..100b4fd0a 100644 --- a/docs/plugin/uts-plugin.md +++ b/docs/plugin/uts-plugin.md @@ -702,6 +702,12 @@ android很多布局参数强制要求Float,但是ts中没有内置这种类型 ```ts let textSize = 30.0.toFloat(); ``` +### Long类型传参 + + +```ts +let longVal = 1000.0.toLong() +``` ### 异步任务 -- GitLab