未验证 提交 84178381 编写于 作者: O openharmony_ci 提交者: Gitee

!5766 语言基础类库示例代码修改

Merge pull request !5766 from zengyawen/master
......@@ -1089,6 +1089,8 @@ type ScopeType = ScopeComparable | number;
```js
class Temperature{
constructor(value){
// 当使用ts语言开发时,需要补充以下代码:
// private readonly _temp: Temperature;
this._temp = value;
}
comapreTo(value){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册