No particularly life-changing features in this major version.
https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/
https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/
Microsoft News
Announcing TypeScript 5.0
Today we’re excited to announce the release of TypeScript 5.0! This release brings many new features, while aiming to make TypeScript smaller, simpler, and faster. We’ve implemented the new decorators standard, added functionality to better support ESM projects…
Here we gooo. Somebody started to work on an alternative standard library for TypeScript with sane types.
https://github.com/total-typescript/ts-reset
https://github.com/total-typescript/ts-reset
GitHub
GitHub - mattpocock/ts-reset: A 'CSS reset' for TypeScript, improving types for common JavaScript API's
A 'CSS reset' for TypeScript, improving types for common JavaScript API's - mattpocock/ts-reset
Checked exceptions are no more.
https://github.com/microsoft/TypeScript/issues/13219#issuecomment-1515037604
https://github.com/microsoft/TypeScript/issues/13219#issuecomment-1515037604
GitHub
Suggestion: `throws` clause and typed catch clause · Issue #13219 · microsoft/TypeScript
The typescript type system is helpful in most cases, but it can’t be utilized when handling exceptions. For example: function fn(num: number): void { if (num === 0) { throw "error: can't d...
Nobody cares about TS Playground anymore. TS team declared issue bankrupcy and closed all the issues.
https://github.com/microsoft/TypeScript-Website/issues/2804
https://github.com/microsoft/TypeScript-Website/issues/2804
GitHub
Next Steps for the TypeScript Website (April 2023 edition) · Issue #2804 · microsoft/TypeScript-Website
Next Steps on the TypeScript Website TL;DR We're taking this time to deliver a smaller, higher-quality, lower-cost version of the website that serves our needs while still leaving us time to do...
Mostly new JS features got support, and a particularly annoying old bug with union of arrays got fixed
https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/
https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/
TypeScript
Announcing TypeScript 5.2 - TypeScript
Today we’re excited to announce the release of TypeScript 5.2! If you’re not familiar with TypeScript, it’s a language that builds on top of JavaScript by making it possible to declare and describe types. Writing types in our code allows us to explain intent…
https://www.typescriptlang.org/play?#code/MYewdgzgLgBAtgUwE4HMEwLwwDwEEA0MAQgHwAUAhgFwwEwBGNRAlJiTGQN4B0vFhvbvQC+zANwAoCaEiwArphicAHjTKsM7AORbhkmdBgA3RSrUb2ABj3TwhgO6nVHCzChI5CG7dkxlixFQEMjlCQLQyI0J7ZmZuZXV9OxAAGwRuFJAUMmVuKBAAGRB7ZABhCghg2LEYAHpavzzC4rKK9ABLCBgwEFgKGAAzOTBgKHbwIA
https://github.com/microsoft/TypeScript/issues/10727
thanks to @pbdqo
https://github.com/microsoft/TypeScript/issues/10727
thanks to @pbdqo
Forwarded from TypeScript Stories
Somehow this sounds more scary than promising
https://fixupx.com/mitypescript/status/1856053317195223244?s=61&t=JbvNAsLXJkzYoNsyC-QjjA
https://fixupx.com/mitypescript/status/1856053317195223244?s=61&t=JbvNAsLXJkzYoNsyC-QjjA
Why Typescript is bad
Somehow this sounds more scary than promising https://fixupx.com/mitypescript/status/1856053317195223244?s=61&t=JbvNAsLXJkzYoNsyC-QjjA
Also this was about running DOOM in types
https://www.youtube.com/watch?v=0mCsluv5FXA
https://www.youtube.com/watch?v=0mCsluv5FXA
YouTube
TypeScript types can run DOOM
Yep. We got the Doom engine running purely in TypeScript types. Like. For real. We’ve prepared two more videos, one answering “why we did this” (storytime format) and another answering “how we did this” (technical deep-dive). What would you like to hear…
TypeScript decided to commit sudoku by rewriting its compiler in an even worse language: Go.
The only reason given is "performance". De facto it means the language is so bad they can't use it for its own compiler anymore.
https://devblogs.microsoft.com/typescript/typescript-native-port/
The only reason given is "performance". De facto it means the language is so bad they can't use it for its own compiler anymore.
https://devblogs.microsoft.com/typescript/typescript-native-port/
Microsoft News
A 10x Faster TypeScript
Embarking on a native port of the existing TypeScript compiler and toolset to achieve a 10x performance speed-up.