We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4878fcf commit ad0bba0Copy full SHA for ad0bba0
src/jsx/hooks/index.ts
@@ -396,7 +396,7 @@ export const useImperativeHandle = <T>(
396
}
397
398
export const useSyncExternalStore = <T>(
399
- subscribe: (callback: (value: T) => void) => () => void,
+ subscribe: (callback: () => void) => () => void,
400
getSnapshot: () => T,
401
getServerSnapshot?: () => T
402
): T => {
0 commit comments