"Missing function name" compilation error with FVector::FReal return/variable type

Fails to compile with the error in the topic:

UFUNCTION(BlueprintCallable, Category="Movement")
FVector::FReal GetAngularVelocityInDegrees() const;

Compiles just fine:

UFUNCTION(BlueprintCallable, Category="Movement")
double GetAngularVelocityInDegrees() const;

I have FVector::FReal member variable in the same class that experiences the same problem. No problems while using FVector::FReal in CPP file. I also tried forward-declaring it with the LWC macro with no success. Removing the UFUNCTION()/UPROPERTY() fixes the error.

Could anyone please tell me what am I doing wrong?