Yeah, TypeScript sounds great, but I quickly became a skeptic. JavaScript is a lost cause. There cannot be a JavaScript++ that will be reasonably safe.
I'm not a frontend guy, but I truly don't know what I'd do with a frontend project. ClojureScript? Elm? OCaml? I would even do JavaScript with JSDoc comments before I'd bother doing TypeScript.
Good question. I've only seen cursory information about Dart, so I can't really have an opinion. I'd be willing to try it, though.
From a quick web search, it looks like JavaScript interop isn't totally frictionless, which is probably a good thing to- as crazy as that may sound.
But it looks like it does rely on making up a type signature for the JS you call into. I assume there must be a way to use TypeScript signature files, too.
It's interesting. I'd like to look into it some time.
I'm not a frontend guy, but I truly don't know what I'd do with a frontend project. ClojureScript? Elm? OCaml? I would even do JavaScript with JSDoc comments before I'd bother doing TypeScript.