The question was simple.
Dustin Deus
1

Tern.js does that quite well, and TypeScript can also provide that benefit on standard JavaScript files without opting into all the costs.