title: Nativescript Typescript error property does not exist
body: <p>Hello I am trying to get an Image element in a typescript xml page and set it's imageSource property programatically.</p>
  
  <p>In the examples i've found it is done this way:</p>
  
  <pre><code>image = page.getViewById("id");
  image.imageSource = newImageSource;
  </code></pre>
  
  <p>The issue that I am having when using typescript is </p>
  
  <pre><code>error 'imageSource' does not exist on type 'View'
  </code></pre>
  
  <p>I don't know how to work around that problem. any ideas?</p>