typescript-go icon indicating copy to clipboard operation
typescript-go copied to clipboard

`experimentalDecorators` doesn't transform the output

Open jycouet opened this issue 2 weeks ago • 1 comments

Steps to reproduce

  • clone https://github.com/jycouet/r-tsgo (minimal remult app, with 1 entity with decorator)
  • build with tsc and build with tsgo, the output is different.

It looks like decorators are not transformed with __decorate. = .. in tsgo. It's not transformed at all.

Behavior with [email protected]

https://github.com/jycouet/r-tsgo/blob/main/dist/demo/todo/Task.js

Behavior with tsgo

https://github.com/jycouet/r-tsgo/blob/main/dist/demo/todo/Task-tsgo.js

jycouet avatar Dec 10 '25 07:12 jycouet

Yeah, it's currently a known gap and the work is in progress.

DanielRosenwasser avatar Dec 10 '25 08:12 DanielRosenwasser

#914

jakebailey avatar Dec 10 '25 14:12 jakebailey