8 Commits

Author SHA1 Message Date
Huáng Jùnliàng
aa4d6e2525
use legacy visitor when version is "legacy" 2022-01-16 10:25:33 -05:00
Huáng Jùnliàng
2fc8ad9539 fix TS errors 2022-01-16 14:15:10 +01:00
Huáng Jùnliàng
be798df427 refactor: centralize option validation in syntax-decorators 2022-01-16 14:15:10 +01:00
Huáng Jùnliàng
e52f1dc4b2 fix init 2022-01-16 14:15:10 +01:00
Huáng Jùnliàng
e67b698cbd fix: throw when legacy and version are both specified
also fix decoratorsBeforeExport error when version: "legacy" is specified
2022-01-16 14:15:10 +01:00
Chris Hewell Garrett
46c54fbbf6 Allow version: "legacy", use built-in Identifier generation, simplify private UID code 2022-01-16 14:15:08 +01:00
Chris Hewell Garrett
3f7644823d Adds the 2021-12 transform for decorators
Implements the 2021-12 transform for the decorators proposal, with
support for the `accessor` keyword.
2022-01-16 14:15:08 +01:00
Bogdan Savluk
0058b7fef4
Migrate Babel from Flow to TypeScript (except Babel parser) (#11578)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-11-25 23:09:13 +01:00