We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
So say I have this simple code:
SE.rect [ SA.stroke $ Just $ SA.RGB 118 255 2 , SA.strokeWidth 5.0 ]
I get a weird error:
strokeWidth :: ∀ r i. Number → IProp ( strokeWidth ∷ Number | r ) i Could not match type ( strokeWidth :: Number ... | t1 ) with type ( class :: String , fill :: String , height :: Number , id :: String , onClick :: MouseEvent , onContextMenu :: MouseEvent , onDoubleClick :: MouseEvent , onKeyDown :: KeyboardEvent , onKeyPress :: KeyboardEvent , onKeyUp :: KeyboardEvent , onMouseDown :: MouseEvent , onMouseEnter :: MouseEvent , onMouseLeave :: MouseEvent , onMouseMove :: MouseEvent , onMouseOut :: MouseEvent , onMouseOver :: MouseEvent , onMouseUp :: MouseEvent , onWheel :: WheelEvent , rx :: Number , ry :: Number , stroke :: String , transform :: String , width :: Number , x :: Number , y :: Number ... ) while trying to match type ( strokeWidth :: Number ... | t1 ) with type ( class :: String , fill :: String , height :: Number , id :: String , onClick :: MouseEvent , onContextMenu :: MouseEvent , onDoubleClick :: MouseEvent , onKeyDown :: KeyboardEvent , onKeyPress :: KeyboardEvent , onKeyUp :: KeyboardEvent , onMouseDown :: MouseEvent , onMouseEnter :: MouseEvent , onMouseLeave :: MouseEvent , onMouseMove :: MouseEvent , onMouseOut :: MouseEvent , onMouseOver :: MouseEvent , onMouseUp :: MouseEvent , onWheel :: WheelEvent , rx :: Number , ry :: Number , stroke :: String , transform :: String , width :: Number , x :: Number , y :: Number ... ) while checking that expression strokeWidth 5.0 has type IProp ( class :: String , fill :: String , height :: Number , id :: String , onClick :: MouseEvent , onContextMenu :: MouseEvent , onDoubleClick :: MouseEvent , onKeyDown :: KeyboardEvent , onKeyPress :: KeyboardEvent , onKeyUp :: KeyboardEvent , onMouseDown :: MouseEvent , onMouseEnter :: MouseEvent , onMouseLeave :: MouseEvent , onMouseMove :: MouseEvent , onMouseOut :: MouseEvent , onMouseOver :: MouseEvent , onMouseUp :: MouseEvent , onWheel :: WheelEvent , rx :: Number , ry :: Number , stroke :: String , transform :: String , width :: Number , x :: Number , y :: Number ) t0 in value declaration component where t0 is an unknown type t1 is an unknown type PureScript(TypesDoNotUnify) Peek Problem No quick fixes available
how can I fix this?
The text was updated successfully, but these errors were encountered:
Was revisiting my old open issues and noticed I had a salty sarcastic comment in here, deleted it and wanted to say sorry:)
Sorry, something went wrong.
No branches or pull requests
So say I have this simple code:
I get a weird error:
how can I fix this?
The text was updated successfully, but these errors were encountered: