sindresorhus/type-fest ? reverse-engineered prompt
Reverse engineered prompt
I'm working on a project with TypeScript, and I keep needing to create complex types for common situations, which feels like I'm reinventing the wheel. I want you to create a utility library, basically a big collection of essential, ready-to-use TypeScript types that feel like they should have been built-in.
It should handle things like manipulating object types, for example, creating a new type by removing a key from another one, or merging two types together, even if they have nested properties. I also need types that help enforce rules, like requiring an object to have at least one of a specific set of keys. The goal is a toolbox of powerful, generic types that I can just import and use in any TypeScript project to make my code safer and more expressive. This should be set up as an npm package.
Are you gonna build this?
make sure you review the code using coderabbit