-
|
Beta Was this translation helpful? Give feedback.
Answered by
kubk
Feb 19, 2022
Replies: 1 comment 2 replies
-
Do you mean TS readonly types? No it doesnt, because TS readonly types don't exist in runtime. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
devuxer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you mean TS readonly types? No it doesnt, because TS readonly types don't exist in runtime.
makeAutoObservable
is all about automatic annotations, if you need more precise control you can use makeObservable. Also this ESLint plugin can be helpful for you: https://github.com/mobxjs/mobx/tree/main/packages/eslint-plugin-mobx#mobxexhaustive-make-observable