title: How to add innerhtml in typescript?
body: <p>I am using typescript in my application.</p>
  
  <p>html code:</p>
  
  <pre><code>&lt;input type="text" name="lastname" id="last"&gt;
  </code></pre>
  
  <p>Typescript code:</p>
  
  <pre><code>let myContainer = &lt;HTMLElement&gt;document.getElementById('last');
  myContainer.innerHTML = "";
  </code></pre>
  
  <p>I want to set the empty value for the last name field using typescript. 
  I am using above code. But cannot able to add empty value using typescript.</p>
  
  <p>I also tried by using below code:</p>
  
  <pre><code>document.getElementById('last').innerHTML = "";
  </code></pre>
  
  <p>How to assign empty value for the textbox using typescript?</p>