TypeScript/tests/baselines/reference/reexportClassDefinition.types

31 lines
536 B
Plaintext

=== tests/cases/conformance/externalModules/foo3.ts ===
import foo2 = require('./foo2')
>foo2 : { x: typeof x; }
class x extends foo2.x {}
>x : x
>foo2.x : x
>foo2 : { x: typeof x; }
>x : typeof x
=== tests/cases/conformance/externalModules/foo1.ts ===
class x{}
>x : x
export = x;
>x : x
=== tests/cases/conformance/externalModules/foo2.ts ===
import foo1 = require('./foo1');
>foo1 : typeof foo1
export = {
>{ x: foo1} : { x: typeof foo1; }
x: foo1
>x : typeof foo1
>foo1 : typeof foo1
}