title: How can I avoid the "an import path cannot end with .ts extension" error in VSCode?
body: <p>I'm using Visual Studio Code to write Deno programs.</p>
  <p>The import statement in Deno contains the <code>.ts</code> extension, e.g.</p>
  <pre><code>import { Application } from &quot;https://deno.land/x/oak/mod.ts&quot;;
  </code></pre>
  <p>which is marked as a problem in VS-Code, error code ts(2691):</p>
  <p><a href="https://i.stack.imgur.com/No5HY.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/No5HY.jpg" alt="enter image description here" /></a></p>
  <p>Despite the shown error, the program works fine, but I want to avoid the error message, because there's nothing wrong.</p>
  <p>How can this be solved?</p>