typescript-go
typescript-go copied to clipboard
`experimentalDecorators` doesn't transform the output
Steps to reproduce
- clone https://github.com/jycouet/r-tsgo (minimal remult app, with 1 entity with decorator)
- build with
tscand build withtsgo, 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
Yeah, it's currently a known gap and the work is in progress.
#914