[Vuejs]-What type do you give an object with children in a typescript interface

0👍

The following inline type should do the trick:

filereader.onload = function(evt: { target: { result: string } }) {
  url = evt.target.result; //sending the link to url
};

Leave a comment