Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dminik
21 days ago
|
parent
|
context
|
favorite
| on:
Vite 8.0 Is Out
Maybe because TypeScript is not valid JavaScript (yet)? If you don't strip types, your code doesn't work.
wildpeaks
21 days ago
[–]
It depends on the runtime: Node can run Typescript because it automatically strips types (which is so convenient during development).
But in browser, for now only the more limited JSDoc-style types can be shipped as-is indeed.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: