I'm using import * as ts from "typescript";
to import typescript in a .ts file.
The file runs fine, but VS Code is telling me Cannot find module 'typescript'. ts(2307)
.
Is there any way to suppress this problem?
Edit: the file can be compiled and run successfully