1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
=== /a.ts ===
interface I {}
export = I;
>I : I
=== /b.ts ===
import I = require("./a");
>I : any
=== /c.ts ===
interface I {}
namespace I {
>I : typeof I
export const x = 1;
>x : 1
>1 : 1
}
export = I;
>I : I
=== /d.ts ===
import I = require("./c");
>I : typeof I
import type J = require("./c");
>J : typeof I
export = J;
>J : I
=== /e.d.ts ===
interface I {}
export = I;
>I : I
=== /f.ts ===
import type I = require("./e");
>I : {}
const I = {};
>I : {}
>{} : {}
export = I;
>I : I
=== /z.ts ===
// test harness is weird if the last file includs a require >:(
|