diff --git a/zh-cn/application-dev/reference/apis/js-apis-util.md b/zh-cn/application-dev/reference/apis/js-apis-util.md index 84a9489b8551ad097f5178abe0d3b5549b4d6e87..c0a79872d031576a7ebefe61a5b172b10d02f1c4 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-util.md +++ b/zh-cn/application-dev/reference/apis/js-apis-util.md @@ -1089,6 +1089,8 @@ type ScopeType = ScopeComparable | number; ```js class Temperature{ constructor(value){ + // 当使用ts语言开发时,需要补充以下代码: + // private readonly _temp: Temperature; this._temp = value; } comapreTo(value){