16 lines
No EOL
276 B
TypeScript
16 lines
No EOL
276 B
TypeScript
module Z {
|
|
export module M {
|
|
export function bar() {
|
|
return "";
|
|
}
|
|
}
|
|
export interface I { }
|
|
}
|
|
module A.M {
|
|
import M = Z.M;
|
|
import M = Z.I;
|
|
|
|
export function bar() {
|
|
}
|
|
M.bar(); // Should call Z.M.bar
|
|
} |