mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
22 lines
511 B
Plaintext
22 lines
511 B
Plaintext
//// [tests/cases/conformance/classes/classExpressions/extendClassExpressionFromModule.ts] ////
|
|
|
|
=== foo2.ts ===
|
|
import foo1 = require('./foo1');
|
|
>foo1 : Symbol(foo1, Decl(foo2.ts, 0, 0))
|
|
|
|
var x = foo1;
|
|
>x : Symbol(x, Decl(foo2.ts, 1, 3))
|
|
>foo1 : Symbol(foo1, Decl(foo2.ts, 0, 0))
|
|
|
|
class y extends x {}
|
|
>y : Symbol(y, Decl(foo2.ts, 1, 13))
|
|
>x : Symbol(x, Decl(foo2.ts, 1, 3))
|
|
|
|
=== foo1.ts ===
|
|
class x{}
|
|
>x : Symbol(x, Decl(foo1.ts, 0, 0))
|
|
|
|
export = x;
|
|
>x : Symbol(x, Decl(foo1.ts, 0, 0))
|
|
|