29 lines
No EOL
375 B
TypeScript
29 lines
No EOL
375 B
TypeScript
// @target: ES6
|
|
export function foo() {
|
|
}
|
|
function foo2() {
|
|
}
|
|
foo();
|
|
foo2();
|
|
|
|
export module m1 {
|
|
export function foo3() {
|
|
}
|
|
function foo4() {
|
|
}
|
|
foo();
|
|
foo2();
|
|
foo3();
|
|
foo4();
|
|
}
|
|
module m2 {
|
|
export function foo3() {
|
|
}
|
|
function foo4() {
|
|
}
|
|
foo();
|
|
foo2();
|
|
foo3();
|
|
foo4();
|
|
m1.foo3();
|
|
} |