UNPKG

161 BTypeScriptView Raw
1declare type UseSyncStateProps<T> = [() => T, (newValue: T) => void];
2export default function useSyncState<T>(initialValue: T): UseSyncStateProps<T>;
3export {};