Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
827a
9 days ago
|
parent
|
context
|
favorite
| on:
Node.js is able to execute TypeScript files withou...
Its worth being clear that it isn't capable of actually executing TypeScript; it executes the "non-emitting" subset of the TypeScript language. If your app uses `enum`, among a couple other features, it wont work.
lerp-io
9 days ago
[–]
supposedly you can use --experimental-transform-types to enable enums but i never tried it so idk if does const enums correctly
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: