I am New to typescript. In my Durandal application I migrated to VS-2012 to VS-2015 means typescript 0.9 to typescript 1.8.4. After migrated I got so many build errors. I re
With my old type script the parameter "imgsrc" is having any type by default.
So, now I made it as (imgsrc:any). It's working fine.
var reader:any, target:EventTarget; reader= new FileReader(); reader.onload = function (imgsrc:any){ var fileUrl = imgsrc.target.result; }