Nobody claimed that, but there definitely are fewer. 15% fewer according to the only study I've seen that objectively measured it.
Basically they took random JavaScript bugs and annotated them with Flow and Typescript type hints and then checked whether the bug was detected.
Pretty clever methodology really.