PromoCursed/node_modules/rc-rate/lib/useRefs.d.ts
2024-08-20 23:25:37 +04:00

5 lines
130 B
TypeScript

export default function useRefs<T>(): [
getRef: (index: number) => T,
setRef: (index: number) => (instance: T) => void
];