Remove needless getType call in matches (#7214)
Remove needless getType call in matches (#7214)

* Remove needless getType call in matches

* Fix flow

cpojer/jest,bookman25/jest,ide/jest,facebook/jest,facebook/jest,ide/jest,bookman25/jest,cpojer/jest,cpojer/jest,ide/jest,bookman25/jest,facebook/jest