r/javascript • TypeScript • 1d ago

Announcing TypeScript 7.1 RC

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

12 comments sorted by

12

u/quisido 1d ago

"FINALLY" ~ my ESLint config

16

u/bogas04 1d ago

It’s really nice to see even more performance wins. I guess with this build times are more or less solved. I also like the decouple compiler API, i hope it leads to better static analysis tooling. 

I guess we are witness one of the last changes made for humans, most of it might get optimized for agentic usage. As long as it leads to stronger type checking, I guess that’s good. 

6

u/monkeymad2 1d ago

To my mind there’s (currently) not much of a split between agents & humans where it comes to dev tooling - e.g. agents love Rust but only because the error messages were really clear & human readable beforehand too.

I doubt we’ll see anyone output it as raw tokens or Esperanto or whatever.

Especially when there’s a wide range of open & closed models using English text & human-readable docs as the standard is likely to stick around for a while.

Hopefully.

1

u/bogas04 1d ago

As of now yes. I won’t be surprised if some new language would be “vibed” claiming to be optimized of agents. 

•

u/MediocreAnalyst2121 15h ago

There’s already plenty of those. None are really popular tho.

1

u/Johalternate 1d ago

I like to think that because models are intended to understand human language, whatever optimizes for llms must do so by making good usage of human language.

Of course, there exists a world where the incentive to reduce token usage grows so much that models their own token efficient language and their communication with us is just a conversion layer, not the actual model output, but I dont like thinking about that too much.

•

u/Reashu 6h ago

To some extent I agree. Human language is the interface and interfaces are hard to change. But there is already a difference in language use between humans and models (see: delve) and future "drift" wouldn't surprise me, especially if training is done on LLM- generated input and/or without human feedback. Indian English is quite different from English English, after all. 

1

u/LukaRozman27 1d ago

If you try out 7.1 RC, use npm install typescript Beginners miss that you need to set "strict": true manually.

2

u/brianjenkins94 1d ago

I think they made strict the default with v6.

•

u/rodriguez-cindy_6 22h ago

Does 7.1 RC change the strict default from 6, or is the warning about older project configs? That distinction matters if this is meant as a newcomer gotcha.

•

u/h_emily_3279 2h ago

The key is whether `strict` is explicit: an explicit true or false stays authoritative; only omitted settings inherit the compiler default. That's the config detail behind the old-project gotcha.