We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf95eb9 commit 361449aCopy full SHA for 361449a
src/React.res
@@ -401,13 +401,13 @@ external useInsertionEffect7: (
401
402
@module("react")
403
external useSyncExternalStore: (
404
- ~subscribe: @uncurry (unit => unit, . unit) => unit,
+ ~subscribe: @uncurry ((unit => unit) => (. unit) => unit),
405
~getSnapshot: @uncurry unit => 'state,
406
) => 'state = "useSyncExternalStore"
407
408
409
external useSyncExternalStoreWithServerSnapshot: (
410
411
412
~getServerSnapshot: @uncurry unit => 'state,
413
0 commit comments