haejunejung / ts-typekit

🧰 A Collection of TypeScript Utility Types
https://ts-typekit.vercel.app
MIT License
9 stars 0 forks source link

fix(StrictOmit): fix incorrect implementation in StrictOmit #54

Closed haejunejung closed 2 months ago

haejunejung commented 2 months ago

This PR fixes the StrictOmit type by simplifying its implementation and removing the unncessary extends object constant.

The previous implementation used Pick and Exclude, which was more complex. The updated implementation utilizes TypeScript built-in Omit type for a more straightforward and intuitive approach.

Removing the extends object costraint aligns with TypeScript's latest standards, ensuring broader compatibility and maintaining consistency with TypeScript's built-in utility types. This change enhances code clarity and maintainability.

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ts-typekit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2024 7:03am