minishouyin/node_modules/antd/es/_util/hooks/useSyncState.d.ts

4 lines
163 B
TypeScript
Raw Permalink Normal View History

2025-11-12 11:35:57 +08:00
type UseSyncStateProps<T> = readonly [() => T, (newValue: T) => void];
export declare const useSyncState: <T>(initialValue: T) => UseSyncStateProps<T>;
export {};