There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Can't compile two files under same namespace(module) into one js file
if you have multiple files under same namespace(module), you will not be able to compile two ts file into one js file.
for example, I have two files: Bar.ts & Bars.ts, I want to put two class under same namespace(module),
those two files can be compiled successfully into two separate js files, but will get compile error if I want to compile two ts files into one js file.
I attached the solution, you can check it with the solution. I updated the project file to compile ts files into one js file for Debug mode.
you will get a compile error if you compile in Debug mode.
it compiles if you compile in Release mode.