I am trying to figure out how to import modules. When I write an instruction at the top of my .ts file, for example:
import a = require("a");
I get the following error:
Unable to compile external modules if the -module flag is not specified.
In previous versions of Visual Studio, there was an area with project properties that allowed you to control some TypeScript configuration. Where is it located in Visual Studio 2015?
Does anyone know how I can enable the import of external modules?
visual-studio-2015 typescript
jgo
source share