Skip to content

Commit df7e1eb

Browse files
authored
Update observable-state.md (#3814)
1 parent 620f78c commit df7e1eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/observable-state.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ However, `makeAutoObservable` cannot be used on classes that have super or are [
200200
Inference rules:
201201

202202
- All _own_ properties become `observable`.
203-
- All `get`ters become `computed`.
204-
- All `set`ters become `action`.
203+
- All `getters` become `computed`.
204+
- All `setters` become `action`.
205205
- All _functions_ become [`autoAction`](#autoAction).
206206
- All _generator_ functions become `flow`. (Note that generator functions are not detectable in some transpiler configurations, if flow doesn't work as expected, make sure to specify `flow` explicitly.)
207207
- Members marked with `false` in the `overrides` argument will not be annotated. For example, using it for read only fields such as identifiers.

0 commit comments

Comments
 (0)