File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ foreign import createComponent
139139-- | identify the component. It receives the `ComponentSpec` as a prop and knows
140140-- | how to defer behavior to it. It requires very specific props and is not useful by
141141-- | itself from JavaScript. For JavaScript interop, see `toReactComponent`.__
142- data Component props
142+ foreign import data Component :: Type -> Type
143143
144144-- | `Self` represents the component instance at a particular point in time.
145145-- |
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import Data.Symbol (class IsSymbol, SProxy(SProxy))
1717import Effect (Effect )
1818import Effect.Uncurried (EffectFn1 , mkEffectFn1 )
1919import Prim.Row as Row
20- import Prim.RowList (kind RowList , class RowToList , Cons , Nil )
20+ import Prim.RowList (class RowToList , RowList , Cons , Nil )
2121import Record (delete , get , insert )
2222import Type.Data.RowList (RLProxy (..))
2323
@@ -77,7 +77,7 @@ handler_ = mkEffectFn1 <<< const
7777syntheticEvent :: EventFn SyntheticEvent SyntheticEvent
7878syntheticEvent = identity
7979
80- class Merge (rl :: RowList ) fns a r | rl -> fns , rl a -> r where
80+ class Merge (rl :: RowList Type ) fns a r | rl -> fns , rl a -> r where
8181 mergeImpl :: RLProxy rl -> Record fns -> EventFn a (Record r )
8282
8383instance mergeNil :: Merge Nil () a () where
You can’t perform that action at this time.
0 commit comments