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