提交 ee96f308 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

refactor(ref): add annotation

上级 6d2be09e
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
type Counter = { type Counter = {
count : number count : number
} }
// TODO: Android 待编译器支持通过泛型指定类型 // TODO: Android 端暂不支持通过泛型指定类型,可通过 as 方式指定类型
const counter = ref({ const counter = ref({
count: 0 count: 0
} as Counter) } as Counter)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册