ITADN

fix: change RemoveIndexSignature to OmitIndexSignature

#324Pull RequestHaberkamp 创建于 2025-03-16
H
Haberkampcommented
# The issue The `type-fest` package, no longer has a `RemoveIndexSignature` type. # The solution I renamed the `RemoveIndexSignature` import to `OmitIndexSignature`. # Additional This also solves a bug when using the values of a scoped slots in the `renderMethod`. ```js render(MyComponent, { slots: { mySlot: (props) => 'Hello, world' // The `props` parameter had the type of any, this is now fixed and has the correct type } }); ```
合并状态:未合并 0 条评论