6 lines
192 B
Plaintext
6 lines
192 B
Plaintext
export function useSyncExternalStore<Snapshot>(
|
|
subscribe: (onStoreChange: () => void) => () => void,
|
|
getSnapshot: () => Snapshot,
|
|
getServerSnapshot?: () => Snapshot,
|
|
): Snapshot;
|