Hacker News new | ask | show | jobs
by Dylan16807 1260 days ago
In that case the only thing you need to make your vanilla code work as typescript is to put the following somewhere:

  declare var myImageElem: HTMLImageElement;