You require to extract the ref type elsewhere: interface RefObject { SayHi: () => void }. then just refer to it in both places
確定! 回上一頁