mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-25 15:40:06 +03:00
weird
This commit is contained in:
parent
da73f85519
commit
bd9cadfb0f
|
@ -17,7 +17,7 @@ export function mapProps<In, Out>(
|
|||
const mappedProps = mapper(this.props);
|
||||
|
||||
// TODO Not really sure why this is needed, but it is
|
||||
return <Comp {...(mappedProps as Out & JSX.IntrinsicElements)} />;
|
||||
return <Comp {...(mappedProps as any)} />;
|
||||
}
|
||||
|
||||
static displayName = `mapProps(${
|
||||
|
|
Loading…
Reference in New Issue
Block a user