property 27result 27 does not exist on type 27eventtarget 27

Solutions on MaxInterview for property 27result 27 does not exist on type 27eventtarget 27 by the best coders in the world

showing results for - "property 27result 27 does not exist on type 27eventtarget 27"
Till
09 Nov 2017
1const fileReader: FileReader = new FileReader();
2
3fileReader.onload = (event: Event) => {
4   event.target.result; // This is invalid
5   fileReader.result; // This is valid
6};
similar questions