genType icon indicating copy to clipboard operation
genType copied to clipboard

genType assumes other ML files are in the same directory

Open NatKarmios opened this issue 3 years ago • 0 comments

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

NatKarmios avatar Aug 07 '22 18:08 NatKarmios