File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ foreign import createComponent
139
139
-- | identify the component. It receives the `ComponentSpec` as a prop and knows
140
140
-- | how to defer behavior to it. It requires very specific props and is not useful by
141
141
-- | itself from JavaScript. For JavaScript interop, see `toReactComponent`.__
142
- data Component props
142
+ foreign import data Component :: Type -> Type
143
143
144
144
-- | `Self` represents the component instance at a particular point in time.
145
145
-- |
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import Data.Symbol (class IsSymbol, SProxy(SProxy))
17
17
import Effect (Effect )
18
18
import Effect.Uncurried (EffectFn1 , mkEffectFn1 )
19
19
import Prim.Row as Row
20
- import Prim.RowList (kind RowList , class RowToList , Cons , Nil )
20
+ import Prim.RowList (class RowToList , RowList , Cons , Nil )
21
21
import Record (delete , get , insert )
22
22
import Type.Data.RowList (RLProxy (..))
23
23
@@ -77,7 +77,7 @@ handler_ = mkEffectFn1 <<< const
77
77
syntheticEvent :: EventFn SyntheticEvent SyntheticEvent
78
78
syntheticEvent = identity
79
79
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
81
81
mergeImpl :: RLProxy rl -> Record fns -> EventFn a (Record r )
82
82
83
83
instance mergeNil :: Merge Nil () a () where
You can’t perform that action at this time.
0 commit comments