visual-studio-2015 The Typescript compiler does not compile d.ts files from the external library

advertisements

I'm using react-global, flux from tsd. After installation, only files d.ts files were downloaded. My visual studio does not compile those of libraries to output js file. That is the reason for failures when executing in client.

how can I include d.ts files to generated js file?

Thanks,


.d.ts files are there only to provide you with a description of the external library while developing. They do not get compiled to anything.

You still have to include the thirdparty javascript files in your project.