ocsigen / ts2ocaml

Generate OCaml bindings from TypeScript definitions via the TypeScript compiler API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Output flag "relativizes" absolute paths

zbaylin opened this issue · comments

Using the -o option for --create-minimal-stdlib with an absolute path, it turns it into a relative path:

$ npx ts2ocaml jsoo --create-minimal-stdlib -o /Users/zbaylin/abc
Error: The output directory '/Users/zbaylin/Development/excelsior/Users/zbaylin/abc' does not exist.

At least for the very moment, it's expected behavior, but we need to polish the document or make ts2ocaml properly understand the path given to it.