React - useRef with TypeScript and functional component. Solution: You require to extract the ref type elsewhere: interface RefObject { SayHi: () => void }.
確定! 回上一頁