Visual Studio automatically includes found .d.ts files in the project during editing and also passes them to the tsc compiler. I am finding that I am having to add references manually in WebStorm 10. I am doing this by including a reference to the tsd.d.ts file created by the tsd package manager in each .ts source file.
Is there a way to get WebStorm to automatically include .d.ts files during compilation?
My project struture has folders:
app - contains all files for the web application including .ts files
typings - all .d.ts files installed by tsd
I tried the command line options
--target ES5 --module amd ./typings/tsd.d.ts
--target ES5 --module amd typings/tsd.d.ts
but that did not work either.
projectdir isn't an available macro