Type a custom hook problem React/Typescript

前端 未结 0 1761
清酒与你
清酒与你 2020-12-23 17:19

I\'m trying to type a custom hook, but it says that is still missing return type of the function. What am I doing wrong?

import { useRef, useState, useEffect          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题