我正在尝试为react-redux编写类型(请参阅https://github.com/andrew-w-ross/typings-react-redux/blob/master/react-redux.d.ts)
所以我想说,connect
函数返回一个带有签名(class: T) => T
的函数,其中T
是typeof TElement
其中TElement extends React.Component<IAppProps & IDispatcher, void>
({{1}只包含调度方法)。