[Dev] TeactN: Fix typing
This commit is contained in:
parent
289eb692fe
commit
d44d465520
@ -300,7 +300,7 @@ export function typify<ProjectGlobalState, ActionPayloads, NonTypedActionNames e
|
|||||||
) => void,
|
) => void,
|
||||||
withGlobal: withGlobal as <OwnProps>(
|
withGlobal: withGlobal as <OwnProps>(
|
||||||
mapStateToProps: ((global: ProjectGlobalState, ownProps: OwnProps) => AnyLiteral),
|
mapStateToProps: ((global: ProjectGlobalState, ownProps: OwnProps) => AnyLiteral),
|
||||||
) => (Component: FC) => FC,
|
) => (Component: FC) => FC<OwnProps>,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user