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?
Compiler does not detect module and class names that are the same
The TypeScript compiler does not give a syntax error when the module and a class in the module have the same name. The resulting generated code will never work. I would like to suggest adding a syntax error for this problem.