Type 'string | ArrayBuffer' is not assignable to type 'string'

后端 未结 0 743
清歌不尽
清歌不尽 2021-02-11 19:45

TypeScript error for reading string from FileReader

Simple code to read file contents:

const reader: FileReader = new FileReader();
       reader.readAsT         


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