Vue 3.0 Composition Api how to type hint variable using useAsync

前端 未结 0 665
故里飘歌
故里飘歌 2021-02-08 00:30

Is it possible to add typehinting to this?

const categories = useAsync(() => $axios.$get(\'/api/categories\').then(({ categories }) => categories));
         


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