DenoDDeno
Powered by
CodeSnaporazC
Deno•3y ago•
71 replies
CodeSnaporaz

TC39 stage 3 decorators not working anymore in Deno Deploy

As of Feb 15th, deployments to #deploy™ fail when using TC39 decorators.
Despite the decision to support legacy decorators in Deno 1.40+, see @bartlomieju 's post here https://github.com/denoland/deno/issues/19160#issuecomment-1855462766, when compiling, the
experimentalDecorators
experimentalDecorators
config is ignored and I suspect any decorator, including the TS 5.0 ones, causes compilation to fail.

I'm supposed to go live in a few weeks and I my app doesn't run on Deno Deploy anymore.

https://github.com/denoland/deno/issues/19160#issuecomment-1949548670
https://github.com/denoland/deno/issues/22419
GitHub
TC39 stage 3 decorators do not work with bundle or compile · Issue ...
$ deno --version deno 1.40.4 (release, x86_64-pc-windows-msvc) v8 12.1.285.6 typescript 5.3.3 The TC39 stage 3 decorators sample provided by https://deno.com/blog/v1.40#decorators does not work wit...
TC39 stage 3 decorators do not work with bundle or compile · Issue ...
GitHub
Typescript 5 decorators · Issue #19160 · denoland/deno
Release 1.32.0 comes with Typescript 5.0.2. But, as per notes in this PR I see no modern (stage 3) decorators support. As far as I understand, the problem is about SWC. But SWC supports them in the...
Typescript 5 decorators · Issue #19160 · denoland/deno
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Next page

Similar Threads

Decorators on Deno
The NexusTThe Nexus / help
4y ago
reflect-metadata on Deno Deploy not working?
ThomasTThomas / help
2y ago
proxy-agent not working on Deno Deploy
IngilizAdamIIngilizAdam / help
3y ago
Failed deployment Deno Deploy
ssimonlpSssimonlp / help
16mo ago