diff --git a/src/jsx/hooks/index.ts b/src/jsx/hooks/index.ts index c6b8294c..0a2eee79 100644 --- a/src/jsx/hooks/index.ts +++ b/src/jsx/hooks/index.ts @@ -396,7 +396,7 @@ export const useImperativeHandle = ( } export const useSyncExternalStore = ( - subscribe: (callback: (value: T) => void) => () => void, + subscribe: (callback: () => void) => () => void, getSnapshot: () => T, getServerSnapshot?: () => T ): T => {