title: Property 'result' does not exist on type 'EventTarget'?
body: <p>I have a Javascript inside my .ts file and it keep showing me that property 'result' does not exist on type 'EventTarget' ???</p>
  
  <pre><code>imageUpload() {
  
  window.onload = function(){   
      //Check File API support zzzz
          (&lt;any&gt;$('#files')).live("change", function(event) {
              var files = event.target.files; //FileList object
              var output = document.getElementById("result");
              for(var i = 0; i&lt; files.length; i++)
              {
                  var file = files[i];
                  //Only pics
                  // if(!file.type.match('image'))
                  if(file.type.match('image.*')){
                      if(this.files[0].size &lt; 2097152){    
                    // continue;
                      var picReader = new FileReader();
                      picReader.addEventListener("load",function(event){
                          var picFile = event.target;
                          var div = document.createElement("div");
                          div.innerHTML = "&lt;img class='thumbnail' src='" + picFile.result + "'" +
                                  "title='preview image'&gt;";
                          output.insertBefore(div,null);            
                      });
                      //Read the image
                      $('#clear, #result').show();
                      picReader.readAsDataURL(file);
                      }else{
                          alert("Image Size is too big. Minimum size is 2MB.");
                          $(this).val("");
                      }
                  }else{
                  alert("You can only upload image file.");
                  $(this).val("");
              }
              }                               
  
          });
  }
  }
  </code></pre>
  
  <p>In my HTML I used this input tag</p>
  
  <pre><code>    &lt;input id="files" type="file" accept="image/*" multiple/&gt;
  </code></pre>
  
  <p>And my output tag like this
       </p>
  
  <p>Why there is error inside the javascript ?? Anyone know what is the problem ? THanks !!!</p>