Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
icar
3 days ago
|
parent
|
context
|
favorite
| on:
WASM 3.0 Completed
I would bet on browsers being able to consume Typescript before WASM exposing any DOM API. That'd improve the Javascript situation a bit, at least.
notnullorvoid
2 days ago
|
next
[–]
Not TS, but there are plans to allow something similar with special type annotation syntax. The runtimes still won't do anything with that extra info though, it'll get stripped just like comments.
https://github.com/tc39/proposal-type-annotations
reply
jesse__
3 days ago
|
prev
[–]
Pretty sure this is here, my dude.
reply
matt_kantor
2 days ago
|
parent
[–]
What are you referring to?
reply
jesse__
2 days ago
|
root
|
parent
[–]
My bad, didn't fact check myself before I made an annoying quip. For some reason I thought browsers and started to roll out out native support for TS.
reply
TheBicPen
2 days ago
|
root
|
parent
|
next
[–]
It's been stuck at stage 1 since early 2022 unfortunately.
https://github.com/tc39/proposal-type-annotations
reply
norman784
2 days ago
|
root
|
parent
|
prev
[–]
Maybe you got confused, because NodeJS is now able to strip annotations (it does not transform enums, etc) to let you run Typescript files directly.
reply
jesse__
2 days ago
|
root
|
parent
[–]
Ahhhh, that was it. Thank you
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: