title: Type '{}' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Omit
body: <pre><code>import React from &quot;react&quot;;
  import { connect } from &quot;react-redux&quot;;
  import {
      getUsersThunkCrstrong texteator, onPageChangedCreator, unfollowCreator, followCreator
  } from &quot;../../redux/users-reducer&quot;;
  import togglefollowingProgress from &quot;../../redux/users-reducer&quot;;
  import Users from './Users';
  import Preloader from &quot;../common/Preloader/Preloader&quot;;
  import { withAuthRedirect } from '../../hoc/withAuthRedirect';
  import { compose } from &quot;redux&quot;;
  import { getUsers, getPageSize, getTotalUsersCount, getCurrentPage, getIsFetching, getFollowingInProgress } from &quot;../../redux/users-selectors&quot;;
  import { userType } from '../../types/types'
  import { AppStateType } from '../../redux/redux-store'
  
  
  type MapStatePropsType = {
      currentPage: number,
      pageSize: number,
      isFetching: boolean,
      totalUsersCount: number,
      users: Array&lt;userType&gt;,
      isAuth?: boolean,
      followingInProgress: Array&lt;number&gt;,
  }
  
  type MapDispatchPropsType = {
      togglefollowingProgress: () =&gt; void,
      unfollowCreator: (userId: number) =&gt; void,
      followCreator: (userId: number) =&gt; void,
  }
  
  type DidMountPropsType = {
      getRequestUsers: (currentPage: number, pageSize: number) =&gt; void,
      onPageChanged: (currentPage: number, pageSize: number) =&gt; void,
  }
  
  class UsersContainer extends React.Component&lt;MapStatePropsType &amp; MapDispatchPropsType &amp; DidMountPropsType&gt; {
  
      componentDidMount() {
          this.props.getRequestUsers(this.props.currentPage, this.props.pageSize);
          this.props.onPageChanged(this.props.currentPage, this.props.pageSize);
      }
      render() {
          return (
              &lt;div&gt;
                  {this.props.isFetching ? &lt;Preloader /&gt; : null}
                  &lt;Users
                      pageSize={this.props.pageSize}
                      onPageChanged={this.props.onPageChanged}
                      totalUsersCount={this.props.totalUsersCount}
                      currentPage={this.props.currentPage}
                      users={this.props.users}
                      togglefollowingProgress={this.props.togglefollowingProgress}
                      followingInProgress={this.props.followingInProgress}
                      unfollow={this.props.unfollowCreator}
                      follow={this.props.followCreator}
                      isAuth={this.props.isAuth}
                  /&gt;
              &lt;/div&gt;
          )
      }
  }
  
  let mapStateToProps = (state: AppStateType): MapStatePropsType =&gt; {
      return {
          users: getUsers(state),
          pageSize: getPageSize(state),
          totalUsersCount: getTotalUsersCount(state),
          currentPage: getCurrentPage(state),
          isFetching: getIsFetching(state),
          followingInProgress: getFollowingInProgress(state),
      }
  }
  
  
  export default compose(
      connect(mapStateToProps, {
          togglefollowingProgress, getRequestUsers: getUsersThunkCreator,
          onPageChanged: onPageChangedCreator, unfollowCreator, followCreator,
      }),
      withAuthRedirect
  )(UsersContainer)
  </code></pre>
  <p>The error crashes, I can't solve it, please help.As I understand it, the error reports that there are no such properties, but they are in mapStateToProps, in the dispatches object, in the connect function { togglefollowingProgress, getRequestUsers: getUsersThunkCreator, onPageChanged: onPageChangedCreator, unfollowCreator, followCreator, }.
  Error: Enter &quot;{ page size: quantity; onPageChanged: (current page: quantity, page size: number) =&gt; unacceptable; Total number of users: number; current page: number; users: its user type[]; togglefollowingProgress: () =&gt; unacceptable; followingInProgress: [number]; unsubscribe: (user ID: number) =&gt; unacceptable; follow: (user id: number) =&gt; unacceptable; isAuth: boolean value | undefined; }&quot;cannot be assigned to the type &quot;IntrinsicAttributes &amp; omit&lt;ClassAttributes &amp; PropsType, &quot;isAuth&quot;&gt; &amp; ConnectProps&quot;. Property &quot;Page Size&quot; Property &quot;Internal attributes and Omit &lt;Class attributes and type of details, &quot;is Auth&quot;&gt; &amp; ConnectProps&quot;.</p>