Hacker News new | ask | show | jobs
by adwhit 2849 days ago
I always use it with

> "compilerOptions": { "strict": true }

But given the huge number of other options I worry that like GCC's '-Wall', that doesn't actually give you the strongest possible type checking. Anyone know about that? My aim with Typescript is to turn JS into OCaml.

3 comments

You might like https://bucklescript.github.io/ Facebook use it in Messenger.
> My aim with Typescript is to turn JS into OCaml

If that's the goal, why not use the real thing http://ocsigen.org/js_of_ocaml/ ?

So... ReasonML?