📅  最后修改于: 2022-03-11 14:48:24.803000             🧑  作者: Mango
const fileReader: FileReader = new FileReader();
fileReader.onload = (event: Event) => {
event.target.result; // This is invalid
fileReader.result; // This is valid
};