Replies: 1 comment
-
Because our implementation assumes |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
office document:make(Auto)Observable only supports properties that are already defined. Make sure your compiler configuration is correct, or as work-around, that a value is assigned to all properties before using make(Auto)Observable. Without correct configuration, fields that are declared but not initialized (like in class X { y; }) will not be picked up correctly.
try use @babel/plugin-proposal-class-properties and set loose true
transform to
the class property y is still initialized with undefined?
of course ts will has promble,but the @babel/plugin-proposal-class-properties and set loose true has no promble
Beta Was this translation helpful? Give feedback.
All reactions