ef4 / decorator-transforms

Better babel transforms for decorators
8 stars 5 forks source link

Fix inter-version compatibility #10

Closed ef4 closed 9 months ago

ef4 commented 9 months ago

It would be good if all 1.x versions of decorator-transforms can intermix the transform and the runtime. 1.0.2 accidentally didn't do that by making a breaking change to the contract between them.

This restores the two old methods, which are only one-liners on top of the new methods.

Fixes https://github.com/ef4/decorator-transforms/issues/9