Started a Ruby project using Sorbet and I'm refactoring with confidence now. It's such a huge help. The project is about 9000 lines of Ruby by now and I don't think I would have been able to get this far without static type checking
The second edition of the book Refactoring was written to use JavaScript instead of Java in part to dispel the myth that you can't confidently refactor without static types.