amis-rpc-design/node_modules/rc-rate/es/useRefs.d.ts

5 lines
130 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
export default function useRefs<T>(): [
getRef: (index: number) => T,
setRef: (index: number) => (instance: T) => void
];