diff --git a/packages/mobx/src/types/actionannotation.ts b/packages/mobx/src/types/actionannotation.ts index 831cf5236..9451a22df 100644 --- a/packages/mobx/src/types/actionannotation.ts +++ b/packages/mobx/src/types/actionannotation.ts @@ -75,10 +75,7 @@ function decorate_20223_(this: Annotation, mthd, context: DecoratorContext) { // Backwards/Legacy behavior, expects makeObservable(this) if (kind == "field") { - addInitializer(function () { - storeAnnotation(this, name, ann) - }) - return + return _createAction } if (kind == "method") {