提交 2266807c 编写于 作者: 杜庆泉's avatar 杜庆泉

Update data-type.md

上级 2d5d0832
......@@ -348,14 +348,14 @@ let kotlinArray = utsArr.toTypedArray()
```ts
// kotlin.collections.List 转换 Array
let utsArr= mutableListOf("hello","world")
let kotlinList = Array.fromNative(utsArr)
let kotlinList= mutableListOf("hello","world")
let utsArr = Array.fromNative(kotlinList)
```
```ts
// kotlin.Array 转换 Array
let utsArr= arrayOf("hello","world")
let kotlinList = Array.fromNative(utsArr)
let kotlinArray = arrayOf("hello","world")
let utsArr = Array.fromNative(kotlinArray)
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册