Skip to content
New issue

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

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

Already on GitHub? # to your account

regarding: "// all properties MUST be given values, see edge cases section below" #1

Closed
Obiwarn opened this issue Apr 23, 2021 · 1 comment

Comments

@Obiwarn
Copy link

Obiwarn commented Apr 23, 2021

I had the same problem, check this out:

https://mobx.js.org/installation.html#use-spec-compliant-transpilation-for-class-properties

@nathanstitt
Copy link
Owner

Oh that's really interesting! thanks so much for pointing that out. I'll update the README to mention this. In my case we're using it mostly from typescript where most of the properties should have a default value in order for them to be properly typed, so it hasn't affected us too much.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants