There’s quite some work happening in the background to change how genType works, to remove any runtime from it, but in the meantime I think you’ll still have to use shims. It’s just weird that it expects this Jsx_element, especially since you don’t seem to use this type in your code base. Maybe you should open an issue in the repo. What’s the JSX config and the version of rescript you use?
↧