UnrealEngine video in youtube error

I’m learning programming by UE4’s video in youtube,but I got an error,the video is

my code is:
.h

UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
	class UStaticMeshComponent* PickupMesh;
FORCEINLINE class UStaitcMeshComponent* GetMesh();

.cpp

class UStaitcMeshComponent * APickUp::GetMesh()
{
	return PickupMesh;
}

I find the error is "return can not convert UStaticMeshComponent* to UStaticMeshComponent*"I think both of them are the same type,why there is the error?

Hi, you have a typo in the return type of the function definition and implementation:

UStaitcMeshComponent*

should be:

UStaticMeshComponent*