Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nolist_policy
· 2y ago · 0 comments
You don't have to transpile anything, you can just put your TS types in JavaScript comments. Or am I missing something?
Comments
[–]
Dylan16807
2y ago
You
can
, but it's ugly and time-consuming. And makes it harder to parse what's actually a comment.
[–]
giaour
2y ago
Do you get any editor support when going this route?
[–]
nolist_policy
OP
2y ago
Yes, vscodium just works.