Skip to content

1.0.3

Compare
Choose a tag to compare
@HichemTab-tech HichemTab-tech released this 15 Dec 20:30
· 65 commits to master since this release

Release Notes: v1.0.3 🎉

Date: 12/15/2024


🛠️ Fixes

  • Enhanced Nested Interface Handling:
    • Resolved an issue where createPicker<T>() failed to include properties from interfaces that extended other interfaces. 🎯
    • The transformer now uses TypeScript's TypeChecker to correctly resolve all properties of a given interface, including those inherited through extends.
    • Example:
      interface Base {
          id: string;
          createdAt: Date;
      }
      
      interface User extends Base {
          firstName: string;
          lastName: string;
      }
      
      // `createPicker<User>()` will now correctly pick `id`, `createdAt`, `firstName`, and `lastName`.
    • This fix ensures that deeply nested or extended interfaces are fully supported, making the package more reliable and robust for real-world TypeScript usage.

🚀 Why This Matters

  • Developers can now safely use createPicker<T>() with complex TypeScript types, confident that all relevant properties—whether directly declared or inherited—will be included in the runtime picker.

Thank you for using ts-runtime-picker! Your feedback helps make this package better every day. ❤️