I'm using Visual Studio Code to write Deno programs.
The import statement in Deno contains the .ts extension, e.g.
import { Application } from "https://deno.land/x/oak/mod.ts";
which is marked as a problem in VS-Code, error code ts(2691):
Despite the shown error, the program works fine, but I want to avoid the error message, because there's nothing wrong.
How can this be solved?



