We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This was observed in v11:
If I have a component Test.res with the following code:
Test.res
@react.component let make = (~size=#large) => { let className = switch size { | #large => "text-lg" | #small => "text-sm" } <div className /> }
and I generate a .resi from it in VS Code, I get
@react.component let make: (~size: [< #large | #small large]=?) => Jsx.element
which is invalid.
The text was updated successfully, but these errors were encountered:
Confirmed to be an issue with v12, too, using
./node_modules/rescript/darwinarm64/rescript-editor-analysis.exe createInterface src/Test.res lib/bs/src/Test.cmi
Sorry, something went wrong.
No branches or pull requests
This was observed in v11:
If I have a component
Test.res
with the following code:and I generate a .resi from it in VS Code, I get
which is invalid.
The text was updated successfully, but these errors were encountered: