You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot find module './JSON.gen.tsx' or its corresponding type declarations.ts(2307)
Cannot find module './Promise.gen.tsx' or its corresponding type declarations.ts(2307)
I've followed the setup guide from the ReScript documentation here but can't seem to resolve this issue.
Steps I've Taken:
Ensured my gentypeconfig is correctly set up.
Checked paths and shim configurations.
Tried manual shimming but still facing issues.
My Environment:
ReScript v11.1
ReScript Core
TypeScript
Is there something I'm missing, or is this potentially a bug? Any help or guidance would be greatly appreciated.
Is it a bug? Usage questions should often be asked in the forum instead.
Concise, focused, friendly issue title & description.
So we tried using shims. It worked for Js library and made it compiled too.
But still I have few issues.
We have updated our repo to v11 and using rescript-core everywhere. So we tried to make this work in the same way but it didn't. Can you please guide us where it's going wrong? or shim folder structure for the same. It's getting a bit confusing.
The versions are mentioned in the above description.
I'm using ReScript v11.1 and ReScript Core in my project, and I'm having trouble with
genType
. Specifically, I have a type that looks like this:The compiler generates a file Types.gen.tsx for me, but I'm encountering the following issue:
I'm facing this issue in the rescript -
I've followed the setup guide from the ReScript documentation here but can't seem to resolve this issue.
Steps I've Taken:
My Environment:
Is there something I'm missing, or is this potentially a bug? Any help or guidance would be greatly appreciated.
The text was updated successfully, but these errors were encountered: