Skip to content

Add 5.0 release notes, fix some ancient compiler options docs #2778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 7, 2023

Conversation

andrewbranch
Copy link
Member

@andrewbranch andrewbranch commented Apr 7, 2023

Closes #2773
Closes microsoft/TypeScript#51267
Closes microsoft/TypeScript#53509
Closes #2169
Closes #2668
Closes #2587

@andrewbranch andrewbranch requested a review from navya9singh April 7, 2023 21:24
@github-actions
Copy link
Contributor

github-actions bot commented Apr 7, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-glacier-09aa73710-2778.centralus.azurestaticapps.net

@github-actions
Copy link
Contributor

github-actions bot commented Apr 7, 2023

Got false positives?

Make changes to the global settings spellcheck.json in /microsoft/TypeScript-Website.

Make changes to this repo's settings in spellcheck.json.

Typos for TypeScript 5.0.md

Line Typo
276 be decorated for things like subclassing and registration.
278 pth, you can read up on [Axel Rauschmayer's extensive summary](https://2a
285 been incredibly useful, they modeled a much older version of the d
532 eScript originally introduced enums, they were nothing more than
551 til TypeScript 2.0 introduced enum literal types that enums got
551 duced enum literal types that enums got a bit more special.
552 Enum literal types gave each enum
552 Enum literal types gave each enum member its own type, and turn
552 its own type, and turned the enum itself into a union of each
553 y a subset of the types of an enum, and to narrow away those typ
573 One issue with giving each enum member its own type was that
574 that value - for instance, an enum member could be initialized b
582 etly back out and use the old enum strategy.
585 cript 5.0 manages to make all enums into union enums by creating
585 to make all enums into union enums by creating a unique type for
586 That means that all enums can now be narrowed and have
606 y developers using tools like bundlers, the node16/nodenext sett
606 tings were cumbersome because bundlers don't have most of these rest
610 Most modern bundlers use a fusion of the ECMAScrip
610 and CommonJS lookup rules in Node.js.
613 To model how bundlers work, TypeScript now introduc
624 e using a modern bundler like Vite, esbuild, swc, Webpack, Parce
624 n bundler like Vite, esbuild, swc, Webpack, Parcel, and others
658 ) declaration files for those stylesheets:
689 ore information, read up [the proposalfor this feature](https://github.
905 ## @satisfies Support in JSDoc
948 k their JavaScript code using JSDoc annotations.
949 cript 5.0 is supporting a new JSDoc tag called @satisfies that
1031 1753) was provided thanks to [Oleksandr Tarasiuk](https://github.com/
1031 provided thanks to [Oleksandr Tarasiuk](https://github.com/a-tarasyu
1033 ## @overload Support in JSDoc
1060 TypeScript 5.0 now allows JSDoc to declare overloads with a n
1061 Each JSDoc comment with an @overload t
1106 Script/pull/51234) thanks to [Tomasz Lenarcik](https://github.com/
1106 pull/51234) thanks to [Tomasz Lenarcik](https://github.com/apendua).
1235 material-ui build time
1236 TypeScript Compiler startup time
1254 This reduced polymorphic and megamorphic use sites, while offsetting m
1269 * [Node Monomorphization](https://github.com/microsoft
1270 * [Symbol Monomorphization](https://github.com/microsoft
1318 was contributed courtesy of [Mateusz Burzyński](https://github.com
1318 tributed courtesy of [Mateusz Burzyński](https://github.com/Andarist)
1320 ### Enum Overhaul

Generated by 🚫 dangerJS against 2fe8c81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment