Casting with TSubclassOf?

reason why I’m asking is because in order to use
CastSpawnActor(stufffff)
the first arguement requires a TSubclassOf Object