I'm not sure why TS wouldn't give you confidence. The compile process is simply stripping out the typing to JS.
I miss having a solid advanced type system like in Haskell when using something like Typescript or Dart. Typescript feels mostly like Microsoft's attempt on converting Javascript to align more with C# to me.