question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add legacy decorator support for TypeScript files

See original GitHub issue

Oops, 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:closed
  • Created 5 years ago
  • Reactions:9
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
smithdaleccommented, Oct 31, 2018

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

0reactions
metawavecommented, Nov 7, 2018

done! #5741

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found