React connect

let MenuX = connect<AppState, MenuProps, MenuProps>(mapStateToProps)(Menu as any);

mapStateToProps the following error

TS2345: Argument of type"(state: AppState) = > {title: string; fullModel: boolean; phone: boolean; backButton: boolean;}"is not assignable to parameter of type "MapStateToPropsParam < AppState, MenuProps >". Type"(state: AppState) = > {title: string; fullModel: boolean; phone: boolean; backButton: boolean;}"is not assignable to type "MapStateToPropsFactory < AppState, MenuProps >". Type"{title: string; fullModel: boolean; phone: boolean; backButton: boolean;}"is not assignable to type "MapStateToProps < AppState, MenuProps >". Type"{title: string; fullModel: boolean; phone: boolean; backButton: boolean;} "provides no match for the signature" (state: any, ownProps?: MenuProps): AppState".

Mar.16,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2b67d-2b2e5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2b67d-2b2e5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?