-
|
Hi there, I've checked the source code and that Deta Micro only supports https://github.com/deta/deta-cli/blob/master/runtime/manager.go#L50-L54 Could we support |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
|
hi, this is a limitation of our current runtime, not the cli. we're working on a new runtime with the aim to support TS. |
Beta Was this translation helpful? Give feedback.
-
@HanzCEO can you share a valid tsconfig ? Because I have tried this long ago and the transpiled js code doesn't work as expected. throwing errors for things like optional chaining. |
Beta Was this translation helpful? Give feedback.
-
|
Any updates on this topic? I also stumbled on this issue, because I am currently in the process of migrating one of my dyno from heroku to deta. Usually after pushing a change, my postinstall just compiles the ts and everything is defined in the package.json, but for deta there is some workaround necessary to make it work (similar as describe by others). Would love to be able to use .ts files and jsut the defined pipeline for compiling on the run. |
Beta Was this translation helpful? Give feedback.
-
|
Same problem here but I managed to make it work with I made a little deta-typescript-express-starter template, following it, I write all the Typescript in I guess the easiest solution is to compile all the |
Beta Was this translation helpful? Give feedback.
hi, this is a limitation of our current runtime, not the cli. we're working on a new runtime with the aim to support TS.