genType
genType copied to clipboard
genType assumes other ML files are in the same directory
When using types from a local Caml module in a different directory, genType doesn't seem to properly compute the module's location. This leads to erroring TypeScript code. This isn't a problem when using a type from a ReScript module.
See this repository for an example: https://github.com/NatKarmios/gentype-wrong-import