Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
spoiler
· 2y ago · 0 comments
It's possible that internal SWC version will be versioned alongside Node, meaning TS syntax support won't drift. Or am I missing something?
Comments
[–]
thecopy
2y ago
TypeScript evolves independent of Node, and the syntax you can use depends on your `typescript` version in the `package.json`
[–]
re-thc
2y ago
Not if SWC or your tooling doesn't support it.
[–]
satanacchio
2y ago
yes but can also be upgraded separately as npm package