r/programming • • 1d ago

Announcing TypeScript 7.1 RC

https://devblogs.microsoft.com/typescript/announcing-typescript-7-1-rc/?r
159 Upvotes

9 comments sorted by

29

u/Bitter_Ad3906 21h ago

Worst thing I ever saw "import source source1 from "./plugin.wasm"", better regular import with {type:"wasm"}. New keywords for specific usage only make language more complex without good syntax.

19

u/phenxdesign 21h ago

I see it more like a pendant of the "type" keyword :

import type Foo from "bar"

This kind of syntax is not new, just a new keyword.

1

u/Jason_Dillon_90_2735 6h ago

Folks keep asking what the RC actually changes. Don't expect new syntax, it's mostly the compiler rewrite.

6

u/HeyItsBATMANagain 16h ago

All of those sound like nice improvements and Im always excited for new TS releases. But with large projects, switching to tsrs has honestly been better for my ram usage

1

u/ChemistrySimple5185 4h ago

Nice to see the native compiler work getting close to stable. For those who've tried the RC on a bigger project, did the faster builds change how you use watch mode?

1

u/NastroAzzurro 2h ago

This should’ve been the 7.0 release honestly.

-62

u/WeirdIndividualGuy 23h ago

Wake me up when it’s past release candidate

43

u/-S-P-Q-R- 22h ago

I am a non-contributor to the community and I only care about using the end-result, not contributing. Why am I subscribed to this subreddit at all I wonder?