mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Use TOwnProps instead of IOwnProps
This commit is contained in:
4
types/react-redux/index.d.ts
vendored
4
types/react-redux/index.d.ts
vendored
@@ -24,8 +24,8 @@ interface ComponentDecorator<TStateProps, TDispatchProps, TOwnProps> {
|
||||
*
|
||||
* Can't use the above decorator because it would default the type to {}
|
||||
*/
|
||||
export interface InferableComponentDecorator<IOwnProps> {
|
||||
<T extends Component<IOwnProps>>(component: T): T;
|
||||
export interface InferableComponentDecorator<TOwnProps> {
|
||||
<T extends Component<TOwnProps>>(component: T): T;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user