Property is missing in type but required in a different type?

前端 未结 0 1916
滥情空心
滥情空心 2020-12-20 04:49

Still trying to wrap my head around typescript.

I\'m trying to type a destructured object like so:

const { authError }: {authError: string} = useRouterQ

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