Skip to content

Commit fc9f330

Browse files
authored
Update library to compile on 0.14.0 PS release
purescript-react#14
1 parent c71def7 commit fc9f330

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/React/Basic/Hooks/Internal.purs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ unsafeRenderEffect = Render
129129

130130
-- | Type alias used to lift otherwise pure functionality into the Render type.
131131
-- | Not commonly used.
132-
type Pure a
133-
= forall hooks. Render hooks hooks a
132+
type Pure (a :: Type)
133+
= forall (hooks :: Type). Render hooks hooks a
134134

135135
-- | Type alias for Render representing a hook.
136136
-- |
@@ -192,4 +192,4 @@ type HookApply hooks (newHook :: Type -> Type)
192192
-- | type UseCustomHook hooks = UseEffect String (UseState Int hooks)
193193
-- | type UseCustomHook' = UseState Int & UseEffect String
194194
-- | ```
195-
infixl 0 type HookApply as &
195+
infixl 0 type HookApply as &

0 commit comments

Comments
 (0)