hoc 应该比包装组件多接受一个道具,所以我写了如下: type HocProps { // Contains the prop my HOC needs thingy: number } type Component<P> ...
確定! 回上一頁