Files
planet/frontend/node_modules/antd/lib/_util/hooks/useSyncState.d.ts
2026-03-05 11:46:58 +08:00

4 lines
163 B
TypeScript

type UseSyncStateProps<T> = readonly [() => T, (newValue: T) => void];
export declare const useSyncState: <T>(initialValue: T) => UseSyncStateProps<T>;
export {};