amis-rpc-design/node_modules/antd/es/_util/hooks/useSyncState.d.ts
2023-10-07 19:42:30 +08:00

4 lines
162 B
TypeScript

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