Closed
Description
TypeScript Version: 2.0.5.0, the version embedded on VS15 Preview 5
Repro file:
https://github.com/SaschaNaz/TSFileInclusionRepro/
Repro steps:
Add some change to ts/foo.ts to generate js/app.js automatically. For example, add class Foo3 {}
.
Expected behavior:
Compiler should include TS files only
Actual behavior:
class Foo {
}
class Foo2 {
}
// Your code here!
var mainjs = "mainjs";
var somemodule = "somemodule";
Why are you including JS files on your project?:
Because they will be excluded from app package if I don't.
Why do you bother?
Because TS tries to parse my emscripten-compiled JS file and even WinJS libraries and thus slows down everything.