mobx 6.1.7 → 6.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3413,7 +3413,17 @@ function makeAutoObservable(target, overrides, options) {
3413
3413
  if (target[inferredAnnotationsSymbol]) {
3414
3414
  target[inferredAnnotationsSymbol].forEach(function (value, key) {
3415
3415
  return adm.make_(key, value);
3416
- });
3416
+ }); // Overrides are not cached, unless `true`, see #2832
3417
+
3418
+ if (overrides) {
3419
+ ownKeys(overrides).forEach(function (key) {
3420
+ var annotation = overrides[key];
3421
+
3422
+ if (annotation !== true) {
3423
+ adm.make_(key, annotation);
3424
+ }
3425
+ });
3426
+ }
3417
3427
  } else {
3418
3428
  var _ignoreKeys;
3419
3429