TextMeshPro Reference not working

I want my code to reference my TextMeshPro2D. So I made a public TextMeshPro called ScoreText but for some reason in the editor I cant drag my TextMeshPro text into the variable. Why is this?

// it looks like this
 public TextMeshPro ScoreText;

I don’t think that’s the name of the class. Try TMP_Text.