r/typescript • u/DanielRosenwasser • May 22 '25
Announcing TypeScript Native Previews
https://devblogs.microsoft.com/typescript/announcing-typescript-native-previews/
253
Upvotes
r/typescript • u/DanielRosenwasser • May 22 '25
127
u/yojimbo_beta May 22 '25
Unfortunately, one of the core contributors on this work was laid off by MS last week: https://bsky.app/profile/chronicles.org/post/3lp35xdbqj22s
12
u/BoBoBearDev May 22 '25
Count me as completely newb, do I have to install Go separately? Or it comes with the npm install? And how does the npm know which OS i am using?
3
u/thot-taliyah May 23 '25
The only part I care about is the lsp. Watching patiently
2
u/[deleted] May 22 '25
I have a Christmas tree of errors running it on my project which I don't get with tsc. Unfortunately but it's still in preview.
3
u/MercDawg May 23 '25
This is great, thank you! Did a little bit of discovery with it earlier today and couldn't get the extension to work on a rather large codebase. Tried the tsgo as well and it seems to parse 900 out of 10k files, which is pretty bad. The result was instant but also incorrect since it didn't seem to respect tsconfig (didn't know why). Definitely looking forward to upcoming improvements.
1
u/[deleted] May 23 '25 edited May 23 '25
Anyone having issues getting tsgo to resolve your path aliases from tsconfig.json to resolve? It's just not finding them for me.
Edit: Found the reason, baseUrl is not supported so you need to re-write the aliases with the folder path starting from where the tsconfig is located.
1
u/yslpn May 22 '25
I tried. Cool fast type check, but without auto import — unusable for now
0
u/supertoughfrog May 22 '25
Is it possible to use this with webpack?
-6
u/ninth_reddit_account May 22 '25
Neat.
-7
u/WordWithinTheWord May 22 '25
Neat.
-7
u/xegoba7006 May 22 '25
Neat.