Add legacy decorator support for TypeScript files
See original GitHub issueOops, looks like we forgot to turn legacy decorators on:
Support for the experimental syntax 'decorators-legacy' isn't currently enabled (24:3)
I’m surprised there hasn’t been a complaint yet!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:9
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Documentation - Decorators - TypeScript
Decorators provide a way to add both annotations and a meta-programming syntax for class declarations and members. Decorators are a stage 2 proposal...
Read more >How to add decorator support to react+typescript+mobx in ...
Go to File > Preference > Settings > Search "experimental". Then check Javascript › Implicit Project Config: Experimental Decorators.
Read more >babel/plugin-proposal-decorators
If you are including your plugins manually and using @babel/plugin-proposal-class-properties and legacy decorators, make sure that @babel/plugin-proposal- ...
Read more >Content Types - ESBuild
Content Types. All of the built-in content types are listed below. Each content type has an associated "loader" which tells esbuild how to...
Read more >Advanced Features: Next.js Compiler
SWC Plugins experimental support added. v12.1.0, Added support for Styled Components, Jest, Relay, Remove React Properties, Legacy Decorators, Remove Console, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looking forward to this going in 2.1.1 - the decorators are the one thing preventing me from migrating to react-scripts from react-scripts-ts
done! #5741