How can i fix this issue in typescript : type 'unknown' is not assignable to type '(prevState: string | undefined)?

后端 未结 0 1186
情书的邮戳
情书的邮戳 2020-12-11 07:57

I am convertimg image to base64 by fetch function, and it is work if I give type any for state but when I am trying to give string I have an error. values.fileUrl it is link

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