You could try npx rescript-tools doc MyFiles.res, that will dump typed tree information in JSON format.
I will most likely contain the info you need.
rescript-tools is included in v12, it is a separate npm package in older versions.
You could try npx rescript-tools doc MyFiles.res, that will dump typed tree information in JSON format.
I will most likely contain the info you need.
rescript-tools is included in v12, it is a separate npm package in older versions.