After coding in TypeScript, plain JavaScript feels like doing acrobatics...
After coding in TypeScript, plain JavaScript feels like doing acrobatics without a net.
So when I work in plain JS, here's a setting I enjoy: Tell @code to run TypeScript type checks on JS files.
Result: I get TypeScript warnings. No code changes required. 👍

Now to clarify, this is NOT as good as writing TypeScript. But I find it does a nice job finding various mistakes I would have overlooked. And, since I don't have to change any code to enjoy these extra safety checks, I see no downside.