Y
Hacker News
new
|
ask
|
show
|
jobs
by
autocole
425 days ago
It seems a little silly to not support some of the small additions TypeScript contributes when it could just be another flag to enable enum, namespace, constructor to property init support
1 comments
niedzielski
425 days ago
you can try the --experimental-transform-types flag to support TypeScript code gen. I'll add it to the notes!
--experimental-transform-types:
https://nodejs.org/en/blog/release/v22.7.0#experimental-tran...
link
--experimental-transform-types: https://nodejs.org/en/blog/release/v22.7.0#experimental-tran...