I break my TypeScript apps into multiple files, usually one for each class. When I release my app I concat and minify them into a single file. The problem I have is that the TypeScript generatred __extends function gets put into each compiled JavaScript file. So I end up with multiple copies of the same code in the final product.
Is there a way to tell the compiler to only put the __extends function in one JavaScript file? Is there some other solution?