As we know no bugs are present in statically typed programs.
Nobody claimed that, but there definitely are fewer. 15% fewer according to the only study I've seen that objectively measured it.
Link? I'm not certain that there's a way to objectively measure that on a scale that matters.
https://ieeexplore.ieee.org/abstract/document/7985711
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.
That's great until someone else tries to use your program.
I'll take the compile-time safety checks, thanks.