我正在用TypeScript编写React higher-order component (HOC)。 HOC应该接受比包裹组件多一个支柱,所以我写了这个: type HocProps { // Contains the prop my HOC ...
確定! 回上一頁