How about using Typescript? That still seems like a huge improvement, especially because you can implement it incrementally (aka for parts of code where type checking is vitally important).
I'm using it now at my work and I'm surprised how much info I'm getting compared to whatever JS is throwing at me.
I'm using it now at my work and I'm surprised how much info I'm getting compared to whatever JS is throwing at me.