16 lines
No EOL
278 B
TypeScript
16 lines
No EOL
278 B
TypeScript
// @module: system
|
|
// @target: es5
|
|
// @lib: es6
|
|
// @filename: 0.ts
|
|
export function foo() { return "foo"; }
|
|
|
|
// @filename: 1.ts
|
|
import("./0");
|
|
var p1 = import("./0");
|
|
p1.then(zero => {
|
|
return zero.foo();
|
|
});
|
|
|
|
function foo() {
|
|
const p2 = import("./0");
|
|
} |