[Dev] TeactN: Fix typing

This commit is contained in:
Alexander Zinchuk 2022-04-19 15:11:54 +02:00
parent 289eb692fe
commit d44d465520

View File

@ -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>,
}; };
} }