Maybe TypeScript may come in handy.
Because one sentence above you stated you “prefer using statically-typed languages.”
FYI, statically-typed means compile-time. It does not matter where it compiles to. Under the hood, even such a beast as Haskell is compiled to machine codes (hint: machine codes are not statically typed.)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.