After updating TS to 5.0 version stopped detecting memoized component type via react memo.
I have component:
export const UserList = memo<UserListProps>((props): UserListProps) => {
....
}
And when I use it, ts shows type like that:
export const UserList: any
So, I don't see any ts-errors when using this component