20 lines
324 B
Plaintext
20 lines
324 B
Plaintext
=== tests/cases/compiler/classExpressionWithResolutionOfNamespaceOfSameName01.ts ===
|
|
namespace C {
|
|
>C : any
|
|
|
|
export interface type {
|
|
>type : type
|
|
}
|
|
}
|
|
|
|
var x = class C {
|
|
>x : typeof C
|
|
>class C { prop: C.type;} : typeof C
|
|
>C : typeof C
|
|
|
|
prop: C.type;
|
|
>prop : C.type
|
|
>C : any
|
|
>type : C.type
|
|
}
|