4 lines
162 B
TypeScript
4 lines
162 B
TypeScript
|
type UseSyncStateProps<T> = readonly [() => T, (newValue: T) => void];
|
||
|
export default function useSyncState<T>(initialValue: T): UseSyncStateProps<T>;
|
||
|
export {};
|