Enhance TypeScript with Essential Type-Fest Utility Types
Summary of my bookmarked Github repositories from Feb 1st, 2022
Github repositories
- sindresorhus/type-fest
Type-fest is a collection of essential TypeScript types that should have been built-in. It offers various utility types such as Except, Writable, Merge, RequireAtLeastOne, and many more. You can either add type-fest as a dependency or copy-paste the needed types without any credit requirements. Additionally, you can contribute by suggesting commonly needed types and improvements to the documentation. The package requires TypeScript version 4.7 or higher. It also provides type guards like IsType and IfType, which simplify conditional types.