How to use TSubclassOf<>?

Oh!! You are right! I just forget to import


"Components/StaticMeshComponent.h"

But the code also can run with no warning…its too fake…
Thx very much.