Skip to content

Instantly share code, notes, and snippets.

@i-am-the-slime
Created August 25, 2023 09:47
Show Gist options
  • Save i-am-the-slime/870c083c7f6f1bc4d1c1121e2cce8091 to your computer and use it in GitHub Desktop.
Save i-am-the-slime/870c083c7f6f1bc4d1c1121e2cce8091 to your computer and use it in GitHub Desktop.
[1/1 TypesDoNotUnify] test/Example.purs:147:5
147 , H.input { valu: "hi" }
^^^^^^^^^^^^^^^^^^^^^^^
Could not match type
( valu :: String
...
| t2
)
with type
( accept :: String
, accessKey :: String
, "aria-atomic" :: Boolean
, "aria-busy" :: Boolean
, "aria-checked" :: Boolean
, "aria-colcount" :: Int
, "aria-colindex" :: Int
, "aria-colspan" :: Int
, "aria-controls" :: String
, "aria-current" :: String
, "aria-describedby" :: String
, "aria-details" :: String
, "aria-disabled" :: Boolean
, "aria-dropeffect" :: String
, "aria-errormessage" :: String
, "aria-expanded" :: Boolean
, "aria-flowto" :: String
, "aria-grabbed" :: Boolean
, "aria-haspopup" :: Boolean
, "aria-hidden" :: Boolean
, "aria-invalid" :: Boolean
, "aria-keyshortcuts" :: String
, "aria-label" :: String
, "aria-labelledby" :: String
, "aria-level" :: Int
, "aria-live" :: String
, "aria-modal" :: Boolean
, "aria-multiline" :: Boolean
, "aria-multiselectable" :: Boolean
, "aria-orientation" :: String
, "aria-owns" :: String
, "aria-placeholder" :: String
, "aria-posinset" :: Int
, "aria-pressed" :: Boolean
, "aria-readonly" :: Boolean
, "aria-relevant" :: String
, "aria-required" :: Boolean
, "aria-roledescription" :: String
, "aria-rowcount" :: Int
, "aria-rowindex" :: Int
, "aria-rowspan" :: Int
, "aria-selected" :: Boolean
, "aria-setsize" :: Int
, "aria-sort" :: String
, "aria-valuemax" :: Int
, "aria-valuemin" :: Int
, "aria-valuenow" :: Int
, "aria-valuetext" :: String
, autoCapitalize :: AutoCapitalize
, autocomplete :: String
, autofocus :: Boolean
, checked :: Boolean
, className :: String
, contentEditable :: Boolean
, dangerouslySetInnerHTML :: { __html :: String
}
, disabled :: Boolean
, draggable :: Boolean
, enterKeyHint :: String
, form :: String
, hidden :: Boolean
, id :: String
, inputMode :: InputMode
, is :: String
, itemProp :: String
, itemRef :: String
, itemScope :: Boolean
, itemType :: String
, key :: String
, lang :: String
, name :: String
, onAnimationEnd :: EffectFn1 SyntheticEvent Unit
, onAnimationEndCapture :: EffectFn1 SyntheticEvent Unit
, onAnimationIteration :: EffectFn1 SyntheticEvent Unit
, onAnimationIterationCapture :: EffectFn1 SyntheticEvent Unit
, onAnimationStart :: EffectFn1 SyntheticEvent Unit
, onAnimationStartCapture :: EffectFn1 SyntheticEvent Unit
, onAuxClick :: EffectFn1 SyntheticEvent Unit
, onAuxClickCapture :: EffectFn1 SyntheticEvent Unit
, onBeforeInput :: EffectFn1 SyntheticEvent Unit
, onBeforeInputCapture :: EffectFn1 SyntheticEvent Unit
, onBlur :: EffectFn1 SyntheticEvent Unit
, onBlurCapture :: EffectFn1 SyntheticEvent Unit
, onChange :: EffectFn1 SyntheticEvent Unit
, onClick :: EffectFn1 SyntheticEvent Unit
, onClickCapture :: EffectFn1 SyntheticEvent Unit
, onCompositionEnd :: EffectFn1 SyntheticEvent Unit
, onCompositionEndCapture :: EffectFn1 SyntheticEvent Unit
, onCompositionStart :: EffectFn1 SyntheticEvent Unit
, onCompositionStartCapture :: EffectFn1 SyntheticEvent Unit
, onCompositionUpdate :: EffectFn1 SyntheticEvent Unit
, onCompositionUpdateCapture :: EffectFn1 SyntheticEvent Unit
, onContextMenu :: EffectFn1 SyntheticEvent Unit
, onContextMenuCapture :: EffectFn1 SyntheticEvent Unit
, onCopy :: EffectFn1 SyntheticEvent Unit
, onCopyCapture :: EffectFn1 SyntheticEvent Unit
, onCut :: EffectFn1 SyntheticEvent Unit
, onCutCapture :: EffectFn1 SyntheticEvent Unit
, onDoubleClick :: EffectFn1 SyntheticEvent Unit
, onDoubleClickCapture :: EffectFn1 SyntheticEvent Unit
, onDrag :: EffectFn1 SyntheticEvent Unit
, onDragCapture :: EffectFn1 SyntheticEvent Unit
, onDragEnd :: EffectFn1 SyntheticEvent Unit
, onDragEndCapture :: EffectFn1 SyntheticEvent Unit
, onDragEnter :: EffectFn1 SyntheticEvent Unit
, onDragEnterCapture :: EffectFn1 SyntheticEvent Unit
, onDragStart :: EffectFn1 SyntheticEvent Unit
, onDragStartCapture :: EffectFn1 SyntheticEvent Unit
, onDrop :: EffectFn1 SyntheticEvent Unit
, onDropCapture :: EffectFn1 SyntheticEvent Unit
, onFocus :: EffectFn1 SyntheticEvent Unit
, onFocusCapture :: EffectFn1 SyntheticEvent Unit
, onGotPointerCapture :: EffectFn1 SyntheticEvent Unit
, onGotPointerCaptureCapture :: EffectFn1 SyntheticEvent Unit
, onMouseDown :: EffectFn1 SyntheticEvent Unit
, onMouseDownCapture :: EffectFn1 SyntheticEvent Unit
, onMouseEnter :: EffectFn1 SyntheticEvent Unit
, onMouseEnterCapture :: EffectFn1 SyntheticEvent Unit
, onMouseLeave :: EffectFn1 SyntheticEvent Unit
, onMouseLeaveCapture :: EffectFn1 SyntheticEvent Unit
, onMouseMove :: EffectFn1 SyntheticEvent Unit
, onMouseMoveCapture :: EffectFn1 SyntheticEvent Unit
, onMouseOut :: EffectFn1 SyntheticEvent Unit
, onMouseOutCapture :: EffectFn1 SyntheticEvent Unit
, onMouseUp :: EffectFn1 SyntheticEvent Unit
, onMouseUpCapture :: EffectFn1 SyntheticEvent Unit
, onPaste :: EffectFn1 SyntheticEvent Unit
, onPasteCapture :: EffectFn1 SyntheticEvent Unit
, onPointerCancel :: EffectFn1 SyntheticEvent Unit
, onPointerCancelCapture :: EffectFn1 SyntheticEvent Unit
, onPointerDown :: EffectFn1 SyntheticEvent Unit
, onPointerDownCapture :: EffectFn1 SyntheticEvent Unit
, onPointerEnter :: EffectFn1 SyntheticEvent Unit
, onPointerEnterCapture :: EffectFn1 SyntheticEvent Unit
, onPointerLeave :: EffectFn1 SyntheticEvent Unit
, onPointerLeaveCapture :: EffectFn1 SyntheticEvent Unit
, onPointerMove :: EffectFn1 SyntheticEvent Unit
, onPointerMoveCapture :: EffectFn1 SyntheticEvent Unit
, onPointerOut :: EffectFn1 SyntheticEvent Unit
, onPointerOutCapture :: EffectFn1 SyntheticEvent Unit
, onPointerUp :: EffectFn1 SyntheticEvent Unit
, onPointerUpCapture :: EffectFn1 SyntheticEvent Unit
, onScroll :: EffectFn1 SyntheticEvent Unit
, onScrollCapture :: EffectFn1 SyntheticEvent Unit
, onSelect :: EffectFn1 SyntheticEvent Unit
, onSelectCapture :: EffectFn1 SyntheticEvent Unit
, onTouchCancel :: EffectFn1 SyntheticEvent Unit
, onTouchCancelCapture :: EffectFn1 SyntheticEvent Unit
, onTouchEnd :: EffectFn1
{ altKey :: Boolean
, bubbles :: Boolean
, cancelable :: Boolean
, changedTouches :: TouchList
, ctrlKey :: Boolean
, currentTarget :: EventTarget
, defaultPrevented :: Boolean
, eventPhase :: Int
, isDefaultPrevented :: Effect Boolean
, isPersistent :: Effect Boolean
, isPropagationStopped :: Effect Boolean
, isTrusted :: Boolean
, metaKey :: Boolean
, nativeEvent :: Event
, persist :: Effect Unit
, preventDefault :: Effect Unit
, shiftKey :: Boolean
, stopPropagation :: Effect Unit
, target :: EventTarget
, targetTouches :: Array Touch
, timeStamp :: Instant
, touches :: Array Touch
, type :: EventType
}
Unit
, onTouchEndCapture :: EffectFn1
{ altKey :: Boolean
, bubbles :: Boolean
, cancelable :: Boolean
, changedTouches :: TouchList
, ctrlKey :: Boolean
, currentTarget :: EventTarget
, defaultPrevented :: Boolean
, eventPhase :: Int
, isDefaultPrevented :: Effect Boolean
, isPersistent :: Effect Boolean
, isPropagationStopped :: Effect Boolean
, isTrusted :: Boolean
, metaKey :: Boolean
, nativeEvent :: Event
, persist :: Effect Unit
, preventDefault :: Effect Unit
, shiftKey :: Boolean
, stopPropagation :: Effect Unit
, target :: EventTarget
, targetTouches :: Array Touch
, timeStamp :: Instant
, touches :: Array Touch
, type :: EventType
}
Unit
, onTouchMove :: EffectFn1 SyntheticEvent Unit
, onTouchMoveCapture :: EffectFn1 SyntheticEvent Unit
, onTouchStart :: EffectFn1 SyntheticEvent Unit
, onTouchStartCapture :: EffectFn1 SyntheticEvent Unit
, onTransitionEnd :: EffectFn1 SyntheticEvent Unit
, onTransitionEndCapture :: EffectFn1 SyntheticEvent Unit
, onWheel :: EffectFn1 SyntheticEvent Unit
, onWheelCapture :: EffectFn1 SyntheticEvent Unit
, placeholder :: String
, readonly :: Boolean
, ref :: Ref (Nullable Node)
, required :: Boolean
, role :: String
, slot :: String
, spellCheck :: Boolean
, style :: CSS
, suppressContentEditableWarning :: Boolean
, suppressHydrationWarning :: Boolean
, tabIndex :: Int
, title :: String
, translate :: YesOrNo
, type :: String
, value :: String
...
)
while solving type class constraint
Prim.Row.Union t1
t2
( accept :: String
, accessKey :: String
, "aria-atomic" :: Boolean
, "aria-busy" :: Boolean
, "aria-checked" :: Boolean
, "aria-colcount" :: Int
, "aria-colindex" :: Int
, "aria-colspan" :: Int
, "aria-controls" :: String
, "aria-current" :: String
, "aria-describedby" :: String
, "aria-details" :: String
, "aria-disabled" :: Boolean
, "aria-dropeffect" :: String
, "aria-errormessage" :: String
, "aria-expanded" :: Boolean
, "aria-flowto" :: String
, "aria-grabbed" :: Boolean
, "aria-haspopup" :: Boolean
, "aria-hidden" :: Boolean
, "aria-invalid" :: Boolean
, "aria-keyshortcuts" :: String
, "aria-label" :: String
, "aria-labelledby" :: String
, "aria-level" :: Int
, "aria-live" :: String
, "aria-modal" :: Boolean
, "aria-multiline" :: Boolean
, "aria-multiselectable" :: Boolean
, "aria-orientation" :: String
, "aria-owns" :: String
, "aria-placeholder" :: String
, "aria-posinset" :: Int
, "aria-pressed" :: Boolean
, "aria-readonly" :: Boolean
, "aria-relevant" :: String
, "aria-required" :: Boolean
, "aria-roledescription" :: String
, "aria-rowcount" :: Int
, "aria-rowindex" :: Int
, "aria-rowspan" :: Int
, "aria-selected" :: Boolean
, "aria-setsize" :: Int
, "aria-sort" :: String
, "aria-valuemax" :: Int
, "aria-valuemin" :: Int
, "aria-valuenow" :: Int
, "aria-valuetext" :: String
, autoCapitalize :: AutoCapitalize
, autocomplete :: String
, autofocus :: Boolean
, checked :: Boolean
, className :: String
, contentEditable :: Boolean
, dangerouslySetInnerHTML :: { __html :: String
}
, disabled :: Boolean
, draggable :: Boolean
, enterKeyHint :: String
, form :: String
, hidden :: Boolean
, id :: String
, inputMode :: InputMode
, is :: String
, itemProp :: String
, itemRef :: String
, itemScope :: Boolean
, itemType :: String
, key :: String
, lang :: String
, name :: String
, onAnimationEnd :: EffectFn1 SyntheticEvent Unit
, onAnimationEndCapture :: EffectFn1 SyntheticEvent Unit
, onAnimationIteration :: EffectFn1 SyntheticEvent Unit
, onAnimationIterationCapture :: EffectFn1 SyntheticEvent Unit
, onAnimationStart :: EffectFn1 SyntheticEvent Unit
, onAnimationStartCapture :: EffectFn1 SyntheticEvent Unit
, onAuxClick :: EffectFn1 SyntheticEvent Unit
, onAuxClickCapture :: EffectFn1 SyntheticEvent Unit
, onBeforeInput :: EffectFn1 SyntheticEvent Unit
, onBeforeInputCapture :: EffectFn1 SyntheticEvent Unit
, onBlur :: EffectFn1 SyntheticEvent Unit
, onBlurCapture :: EffectFn1 SyntheticEvent Unit
, onChange :: EffectFn1 SyntheticEvent Unit
, onClick :: EffectFn1 SyntheticEvent Unit
, onClickCapture :: EffectFn1 SyntheticEvent Unit
, onCompositionEnd :: EffectFn1 SyntheticEvent Unit
, onCompositionEndCapture :: EffectFn1 SyntheticEvent Unit
, onCompositionStart :: EffectFn1 SyntheticEvent Unit
, onCompositionStartCapture :: EffectFn1 SyntheticEvent Unit
, onCompositionUpdate :: EffectFn1 SyntheticEvent Unit
, onCompositionUpdateCapture :: EffectFn1 SyntheticEvent Unit
, onContextMenu :: EffectFn1 SyntheticEvent Unit
, onContextMenuCapture :: EffectFn1 SyntheticEvent Unit
, onCopy :: EffectFn1 SyntheticEvent Unit
, onCopyCapture :: EffectFn1 SyntheticEvent Unit
, onCut :: EffectFn1 SyntheticEvent Unit
, onCutCapture :: EffectFn1 SyntheticEvent Unit
, onDoubleClick :: EffectFn1 SyntheticEvent Unit
, onDoubleClickCapture :: EffectFn1 SyntheticEvent Unit
, onDrag :: EffectFn1 SyntheticEvent Unit
, onDragCapture :: EffectFn1 SyntheticEvent Unit
, onDragEnd :: EffectFn1 SyntheticEvent Unit
, onDragEndCapture :: EffectFn1 SyntheticEvent Unit
, onDragEnter :: EffectFn1 SyntheticEvent Unit
, onDragEnterCapture :: EffectFn1 SyntheticEvent Unit
, onDragStart :: EffectFn1 SyntheticEvent Unit
, onDragStartCapture :: EffectFn1 SyntheticEvent Unit
, onDrop :: EffectFn1 SyntheticEvent Unit
, onDropCapture :: EffectFn1 SyntheticEvent Unit
, onFocus :: EffectFn1 SyntheticEvent Unit
, onFocusCapture :: EffectFn1 SyntheticEvent Unit
, onGotPointerCapture :: EffectFn1 SyntheticEvent Unit
, onGotPointerCaptureCapture :: EffectFn1 SyntheticEvent Unit
, onMouseDown :: EffectFn1 SyntheticEvent Unit
, onMouseDownCapture :: EffectFn1 SyntheticEvent Unit
, onMouseEnter :: EffectFn1 SyntheticEvent Unit
, onMouseEnterCapture :: EffectFn1 SyntheticEvent Unit
, onMouseLeave :: EffectFn1 SyntheticEvent Unit
, onMouseLeaveCapture :: EffectFn1 SyntheticEvent Unit
, onMouseMove :: EffectFn1 SyntheticEvent Unit
, onMouseMoveCapture :: EffectFn1 SyntheticEvent Unit
, onMouseOut :: EffectFn1 SyntheticEvent Unit
, onMouseOutCapture :: EffectFn1 SyntheticEvent Unit
, onMouseUp :: EffectFn1 SyntheticEvent Unit
, onMouseUpCapture :: EffectFn1 SyntheticEvent Unit
, onPaste :: EffectFn1 SyntheticEvent Unit
, onPasteCapture :: EffectFn1 SyntheticEvent Unit
, onPointerCancel :: EffectFn1 SyntheticEvent Unit
, onPointerCancelCapture :: EffectFn1 SyntheticEvent Unit
, onPointerDown :: EffectFn1 SyntheticEvent Unit
, onPointerDownCapture :: EffectFn1 SyntheticEvent Unit
, onPointerEnter :: EffectFn1 SyntheticEvent Unit
, onPointerEnterCapture :: EffectFn1 SyntheticEvent Unit
, onPointerLeave :: EffectFn1 SyntheticEvent Unit
, onPointerLeaveCapture :: EffectFn1 SyntheticEvent Unit
, onPointerMove :: EffectFn1 SyntheticEvent Unit
, onPointerMoveCapture :: EffectFn1 SyntheticEvent Unit
, onPointerOut :: EffectFn1 SyntheticEvent Unit
, onPointerOutCapture :: EffectFn1 SyntheticEvent Unit
, onPointerUp :: EffectFn1 SyntheticEvent Unit
, onPointerUpCapture :: EffectFn1 SyntheticEvent Unit
, onScroll :: EffectFn1 SyntheticEvent Unit
, onScrollCapture :: EffectFn1 SyntheticEvent Unit
, onSelect :: EffectFn1 SyntheticEvent Unit
, onSelectCapture :: EffectFn1 SyntheticEvent Unit
, onTouchCancel :: EffectFn1 SyntheticEvent Unit
, onTouchCancelCapture :: EffectFn1 SyntheticEvent Unit
, onTouchEnd :: EffectFn1
{ altKey :: Boolean
, bubbles :: Boolean
, cancelable :: Boolean
, changedTouches :: TouchList
, ctrlKey :: Boolean
, currentTarget :: EventTarget
, defaultPrevented :: Boolean
, eventPhase :: Int
, isDefaultPrevented :: Effect Boolean
, isPersistent :: Effect Boolean
, isPropagationStopped :: Effect Boolean
, isTrusted :: Boolean
, metaKey :: Boolean
, nativeEvent :: Event
, persist :: Effect Unit
, preventDefault :: Effect Unit
, shiftKey :: Boolean
, stopPropagation :: Effect Unit
, target :: EventTarget
, targetTouches :: Array Touch
, timeStamp :: Instant
, touches :: Array Touch
, type :: EventType
}
Unit
, onTouchEndCapture :: EffectFn1
{ altKey :: Boolean
, bubbles :: Boolean
, cancelable :: Boolean
, changedTouches :: TouchList
, ctrlKey :: Boolean
, currentTarget :: EventTarget
, defaultPrevented :: Boolean
, eventPhase :: Int
, isDefaultPrevented :: Effect Boolean
, isPersistent :: Effect Boolean
, isPropagationStopped :: Effect Boolean
, isTrusted :: Boolean
, metaKey :: Boolean
, nativeEvent :: Event
, persist :: Effect Unit
, preventDefault :: Effect Unit
, shiftKey :: Boolean
, stopPropagation :: Effect Unit
, target :: EventTarget
, targetTouches :: Array Touch
, timeStamp :: Instant
, touches :: Array Touch
, type :: EventType
}
Unit
, onTouchMove :: EffectFn1 SyntheticEvent Unit
, onTouchMoveCapture :: EffectFn1 SyntheticEvent Unit
, onTouchStart :: EffectFn1 SyntheticEvent Unit
, onTouchStartCapture :: EffectFn1 SyntheticEvent Unit
, onTransitionEnd :: EffectFn1 SyntheticEvent Unit
, onTransitionEndCapture :: EffectFn1 SyntheticEvent Unit
, onWheel :: EffectFn1 SyntheticEvent Unit
, onWheelCapture :: EffectFn1 SyntheticEvent Unit
, placeholder :: String
, readonly :: Boolean
, ref :: Ref (Nullable Node)
, required :: Boolean
, role :: String
, slot :: String
, spellCheck :: Boolean
, style :: CSS
, suppressContentEditableWarning :: Boolean
, suppressHydrationWarning :: Boolean
, tabIndex :: Int
, title :: String
, translate :: YesOrNo
, type :: String
, value :: String
)
while applying a function input
of type CoerceReactProps @Type (Record t0) (Record t1)
{ accept :: String
, accessKey :: String
, "aria-atomic" :: Boolean
, "aria-busy" :: Boolean
, "aria-checked" :: Boolean
, "aria-colcount" :: Int
, "aria-colindex" :: Int
, "aria-colspan" :: Int
, "aria-controls" :: String
, "aria-current" :: String
, "aria-describedby" :: String
, "aria-details" :: String
, "aria-disabled" :: Boolean
, "aria-dropeffect" :: String
, "aria-errormessage" :: String
, "aria-expanded" :: Boolean
, "aria-flowto" :: String
, "aria-grabbed" :: Boolean
, "aria-haspopup" :: Boolean
, "aria-hidden" :: Boolean
, "aria-invalid" :: Boolean
, "aria-keyshortcuts" :: String
, "aria-label" :: String
, "aria-labelledby" :: String
, "aria-level" :: Int
, "aria-live" :: String
, "aria-modal" :: Boolean
, "aria-multiline" :: Boolean
, "aria-multiselectable" :: Boolean
, "aria-orientation" :: String
, "aria-owns" :: String
, "aria-placeholder" :: String
, "aria-posinset" :: Int
, "aria-pressed" :: Boolean
, "aria-readonly" :: Boolean
, "aria-relevant" :: String
, "aria-required" :: Boolean
, "aria-roledescription" :: String
, "aria-rowcount" :: Int
, "aria-rowindex" :: Int
, "aria-rowspan" :: Int
, "aria-selected" :: Boolean
, "aria-setsize" :: Int
, "aria-sort" :: String
, "aria-valuemax" :: Int
, "aria-valuemin" :: Int
, "aria-valuenow" :: Int
, "aria-valuetext" :: String
, autoCapitalize :: AutoCapitalize
, autocomplete :: String
, autofocus :: Boolean
, checked :: Boolean
, className :: String
, contentEditable :: Boolean
, dangerouslySetInnerHTML :: { __html :: String
}
, disabled :: Boolean
, draggable :: Boolean
, enterKeyHint :: String
, form :: String
, hidden :: Boolean
, id :: String
, inputMode :: InputMode
, is :: String
, itemProp :: String
, itemRef :: String
, itemScope :: Boolean
, itemType :: String
, key :: String
, lang :: String
, name :: String
, onAnimationEnd :: EffectFn1 SyntheticEvent Unit
, onAnimationEndCapture :: EffectFn1 SyntheticEvent Unit
, onAnimationIteration :: EffectFn1 SyntheticEvent Unit
, onAnimationIterationCapture :: EffectFn1 SyntheticEvent Unit
, onAnimationStart :: EffectFn1 SyntheticEvent Unit
, onAnimationStartCapture :: EffectFn1 SyntheticEvent Unit
, onAuxClick :: EffectFn1 SyntheticEvent Unit
, onAuxClickCapture :: EffectFn1 SyntheticEvent Unit
, onBeforeInput :: EffectFn1 SyntheticEvent Unit
, onBeforeInputCapture :: EffectFn1 SyntheticEvent Unit
, onBlur :: EffectFn1 SyntheticEvent Unit
, onBlurCapture :: EffectFn1 SyntheticEvent Unit
, onChange :: EffectFn1 SyntheticEvent Unit
, onClick :: EffectFn1 SyntheticEvent Unit
, onClickCapture :: EffectFn1 SyntheticEvent Unit
, onCompositionEnd :: EffectFn1 SyntheticEvent Unit
, onCompositionEndCapture :: EffectFn1 SyntheticEvent Unit
, onCompositionStart :: EffectFn1 SyntheticEvent Unit
, onCompositionStartCapture :: EffectFn1 SyntheticEvent Unit
, onCompositionUpdate :: EffectFn1 SyntheticEvent Unit
, onCompositionUpdateCapture :: EffectFn1 SyntheticEvent Unit
, onContextMenu :: EffectFn1 SyntheticEvent Unit
, onContextMenuCapture :: EffectFn1 SyntheticEvent Unit
, onCopy :: EffectFn1 SyntheticEvent Unit
, onCopyCapture :: EffectFn1 SyntheticEvent Unit
, onCut :: EffectFn1 SyntheticEvent Unit
, onCutCapture :: EffectFn1 SyntheticEvent Unit
, onDoubleClick :: EffectFn1 SyntheticEvent Unit
, onDoubleClickCapture :: EffectFn1 SyntheticEvent Unit
, onDrag :: EffectFn1 SyntheticEvent Unit
, onDragCapture :: EffectFn1 SyntheticEvent Unit
, onDragEnd :: EffectFn1 SyntheticEvent Unit
, onDragEndCapture :: EffectFn1 SyntheticEvent Unit
, onDragEnter :: EffectFn1 SyntheticEvent Unit
, onDragEnterCapture :: EffectFn1 SyntheticEvent Unit
, onDragStart :: EffectFn1 SyntheticEvent Unit
, onDragStartCapture :: EffectFn1 SyntheticEvent Unit
, onDrop :: EffectFn1 SyntheticEvent Unit
, onDropCapture :: EffectFn1 SyntheticEvent Unit
, onFocus :: EffectFn1 SyntheticEvent Unit
, onFocusCapture :: EffectFn1 SyntheticEvent Unit
, onGotPointerCapture :: EffectFn1 SyntheticEvent Unit
, onGotPointerCaptureCapture :: EffectFn1 SyntheticEvent Unit
, onMouseDown :: EffectFn1 SyntheticEvent Unit
, onMouseDownCapture :: EffectFn1 SyntheticEvent Unit
, onMouseEnter :: EffectFn1 SyntheticEvent Unit
, onMouseEnterCapture :: EffectFn1 SyntheticEvent Unit
, onMouseLeave :: EffectFn1 SyntheticEvent Unit
, onMouseLeaveCapture :: EffectFn1 SyntheticEvent Unit
, onMouseMove :: EffectFn1 SyntheticEvent Unit
, onMouseMoveCapture :: EffectFn1 SyntheticEvent Unit
, onMouseOut :: EffectFn1 SyntheticEvent Unit
, onMouseOutCapture :: EffectFn1 SyntheticEvent Unit
, onMouseUp :: EffectFn1 SyntheticEvent Unit
, onMouseUpCapture :: EffectFn1 SyntheticEvent Unit
, onPaste :: EffectFn1 SyntheticEvent Unit
, onPasteCapture :: EffectFn1 SyntheticEvent Unit
, onPointerCancel :: EffectFn1 SyntheticEvent Unit
, onPointerCancelCapture :: EffectFn1 SyntheticEvent Unit
, onPointerDown :: EffectFn1 SyntheticEvent Unit
, onPointerDownCapture :: EffectFn1 SyntheticEvent Unit
, onPointerEnter :: EffectFn1 SyntheticEvent Unit
, onPointerEnterCapture :: EffectFn1 SyntheticEvent Unit
, onPointerLeave :: EffectFn1 SyntheticEvent Unit
, onPointerLeaveCapture :: EffectFn1 SyntheticEvent Unit
, onPointerMove :: EffectFn1 SyntheticEvent Unit
, onPointerMoveCapture :: EffectFn1 SyntheticEvent Unit
, onPointerOut :: EffectFn1 SyntheticEvent Unit
, onPointerOutCapture :: EffectFn1 SyntheticEvent Unit
, onPointerUp :: EffectFn1 SyntheticEvent Unit
, onPointerUpCapture :: EffectFn1 SyntheticEvent Unit
, onScroll :: EffectFn1 SyntheticEvent Unit
, onScrollCapture :: EffectFn1 SyntheticEvent Unit
, onSelect :: EffectFn1 SyntheticEvent Unit
, onSelectCapture :: EffectFn1 SyntheticEvent Unit
, onTouchCancel :: EffectFn1 SyntheticEvent Unit
, onTouchCancelCapture :: EffectFn1 SyntheticEvent Unit
, onTouchEnd :: EffectFn1
{ altKey :: Boolean
, bubbles :: Boolean
, cancelable :: Boolean
, changedTouches :: TouchList
, ctrlKey :: Boolean
, currentTarget :: EventTarget
, defaultPrevented :: Boolean
, eventPhase :: Int
, isDefaultPrevented :: ...
, isPersistent :: ...
, isPropagationStopped :: ...
, isTrusted :: Boolean
, metaKey :: Boolean
, nativeEvent :: Event
, persist :: ...
, preventDefault :: ...
, shiftKey :: Boolean
, stopPropagation :: ...
, target :: EventTarget
, targetTouches :: ...
, timeStamp :: Instant
, touches :: ...
, type :: EventType
}
Unit
, onTouchEndCapture :: EffectFn1
{ altKey :: Boolean
, bubbles :: Boolean
, cancelable :: Boolean
, changedTouches :: TouchList
, ctrlKey :: Boolean
, currentTarget :: EventTarget
, defaultPrevented :: Boolean
, eventPhase :: Int
, isDefaultPrevented :: ...
, isPersistent :: ...
, isPropagationStopped :: ...
, isTrusted :: Boolean
, metaKey :: Boolean
, nativeEvent :: Event
, persist :: ...
, preventDefault :: ...
, shiftKey :: Boolean
, stopPropagation :: ...
, target :: EventTarget
, targetTouches :: ...
, timeStamp :: Instant
, touches :: ...
, type :: EventType
}
Unit
, onTouchMove :: EffectFn1 SyntheticEvent Unit
, onTouchMoveCapture :: EffectFn1 SyntheticEvent Unit
, onTouchStart :: EffectFn1 SyntheticEvent Unit
, onTouchStartCapture :: EffectFn1 SyntheticEvent Unit
, onTransitionEnd :: EffectFn1 SyntheticEvent Unit
, onTransitionEndCapture :: EffectFn1 SyntheticEvent Unit
, onWheel :: EffectFn1 SyntheticEvent Unit
, onWheelCapture :: EffectFn1 SyntheticEvent Unit
, placeholder :: String
, readonly :: Boolean
, ref :: Ref (Nullable Node)
, required :: Boolean
, role :: String
, slot :: String
, spellCheck :: Boolean
, style :: CSS
, suppressContentEditableWarning :: Boolean
, suppressHydrationWarning :: Boolean
, tabIndex :: Int
, title :: String
, translate :: YesOrNo
, type :: String
, value :: String
}
=> Record t0 -> JSX
to argument { valu: "hi"
}
while inferring the type of input { valu: "hi"
}
in value declaration formExample
where t0 is an unknown type
t1 is an unknown type
t2 is an unknown type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment