TypeScript/tests/cases/compiler/declFileInternalAliases.ts
2014-07-12 17:30:19 -07:00

13 lines
250 B
TypeScript

// @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
}