Skip to content
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

Support for TypeScript 4.0 #140

Closed
millsp opened this issue Aug 23, 2020 · 1 comment
Closed

Support for TypeScript 4.0 #140

millsp opened this issue Aug 23, 2020 · 1 comment
Labels
announcement Something worth sharing

Comments

@millsp
Copy link
Owner

millsp commented Aug 23, 2020

You can now enjoy the most optimized version of ts-toolbelt. Besides countless internal optimizations from my side, the TypeScript team has been working on many ways to improve the type system. This has led to some of the most exciting and awaited features:

  • Variadic Tuple Types
    This means a lot of optimization for this library, not having to emulate Concat anymore.
  • Recursive Type Aliases
    We pushed hard for the use of recursive types. I'm very happy to announce that this is officially supported now.
  • The TypeScript team has also been working relentlessly on improving performance. And this is something that we can clearly feel on this latest release -- Cutting the type count by 60% for the ts-toolbelt!

Besides that, there will be breaking changes on this version:

  • MergeUp is now called Merge
  • Merge is now called Patch
  • Some API's have changed, not very used ones though.

Why ts-toolbelt@8 instead of 7? I only like odd numbers! No. Just a bug with the automated versioning... Not worth my time.

@millsp millsp added the announcement Something worth sharing label Aug 23, 2020
@millsp millsp pinned this issue Aug 23, 2020
@millsp millsp closed this as completed Aug 23, 2020
@mesqueeb
Copy link
Contributor

mesqueeb commented Sep 4, 2020

nice!!!

@millsp millsp unpinned this issue Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
announcement Something worth sharing
Projects
None yet
Development

No branches or pull requests

2 participants