Closed
Description
Source:
// foo.ts
var foo = {};
export = foo;
// bar.ts
import foo from './foo';
export = foo;
Command line: tsc -m amd -t es5 -d foo.ts bar.ts
Expected output of bar.d.ts:
import foo from './foo';
export = foo;
Actual output of bar.d.ts:
export = foo;
Legacy import foo = require('./foo')
still is emitted.
Version: Arnavion/typescript-github#2015-03-05-b784a4212aeb5a4e42a598a8613a0538ac241123