Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/refguide/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ decorate(Todo, {

* **`equals: (value, value) => boolean`** 用来重载默认检测规则的比较函数。 内置比较器有: `comparer.identity`, `comparer.default`, `comparer.structural`
* **`requiresReaction: boolean`** 在重新计算衍生属性之前,等待追踪的 observables 值发生变化
* **`get: () => value)`** 重载计算属性的 getter
* **`get: () => value`** 重载计算属性的 getter
* **`set: (value) => void`** 重载计算属性的 setter
* **`keepAlive: boolean`** 设置为 true 以自动保持计算值活动,而不是在没有观察者时暂停。

Expand Down