useSyncState.d.ts 162 B

123
  1. type UseSyncStateProps<T> = readonly [() => T, (newValue: T) => void];
  2. export default function useSyncState<T>(initialValue: T): UseSyncStateProps<T>;
  3. export {};