TypeScript is great. I built
https://www.findlectures.com over a year, starting in plain Javascript. Once the codebase was large enough that got stuck I added TypeScript, and it's been great for isolating defects.
It's nice paired with React (vs PropTypes) because the checking happens a lot earlier and is much richer.