16 lines
306 B
TypeScript
16 lines
306 B
TypeScript
//// [importedModuleClassNameClash.ts]
|
|
import foo = m1;
|
|
|
|
export module m1 { }
|
|
|
|
class foo { }
|
|
|
|
|
|
//// [importedModuleClassNameClash.js]
|
|
define(["require", "exports"], function (require, exports) {
|
|
var foo = (function () {
|
|
function foo() {
|
|
}
|
|
return foo;
|
|
})();
|
|
});
|