mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
532 B
Plaintext
24 lines
532 B
Plaintext
//// [tests/cases/compiler/classIndexer4.ts] ////
|
|
|
|
=== classIndexer4.ts ===
|
|
class C123 {
|
|
>C123 : Symbol(C123, Decl(classIndexer4.ts, 0, 0))
|
|
|
|
[s: string]: number;
|
|
>s : Symbol(s, Decl(classIndexer4.ts, 1, 5))
|
|
|
|
constructor() {
|
|
}
|
|
}
|
|
|
|
interface D123 extends C123 {
|
|
>D123 : Symbol(D123, Decl(classIndexer4.ts, 4, 1))
|
|
>C123 : Symbol(C123, Decl(classIndexer4.ts, 0, 0))
|
|
|
|
x: number;
|
|
>x : Symbol(D123.x, Decl(classIndexer4.ts, 6, 29))
|
|
|
|
y: string;
|
|
>y : Symbol(D123.y, Decl(classIndexer4.ts, 7, 14))
|
|
}
|