TypeScript/tests/cases/compiler/declFileInternalAliases.ts

13 lines
250 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
// @declaration: true
module m {
export class c {
}
}
module m1 {
import x = m.c;
export var d = new x(); // emit the type as m.c
}
module m2 {
export import x = m.c;
export var d = new x(); // emit the type as x
}