Skip to content

Commit 4b66544

Browse files
committed
Close row types for effects of React lifecycle methods
1 parent 0d33ef0 commit 4b66544

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/React.purs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@ module React where
2222
:: forall a b eff result. a -> b -> Eff ( eff ) result
2323

2424
type ReadProps eff props result = Eff (
25-
p :: ReadPropsEff props
26-
| eff
25+
p :: ReadPropsEff props,
26+
dom :: DOM
2727
) result
2828

2929
type ReadState eff props state result = Eff (
3030
p :: ReadPropsEff props,
31-
r :: ReadStateEff state
32-
| eff
31+
r :: ReadStateEff state,
32+
dom :: DOM
3333
) result
3434

3535
type ReadWriteState eff props state result = Eff (
3636
p :: ReadPropsEff props,
3737
r :: ReadStateEff state,
38-
w :: WriteStateEff state
39-
| eff
38+
w :: WriteStateEff state,
39+
dom :: DOM
4040
) result
4141

4242
type Render props state = Eff (

0 commit comments

Comments
 (0)