mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
22 lines
594 B
Plaintext
22 lines
594 B
Plaintext
//// [tests/cases/compiler/classExpressions.ts] ////
|
|
|
|
=== classExpressions.ts ===
|
|
interface A {}
|
|
>A : Symbol(A, Decl(classExpressions.ts, 0, 0))
|
|
|
|
let x = class B implements A {
|
|
>x : Symbol(x, Decl(classExpressions.ts, 1, 3))
|
|
>B : Symbol(B, Decl(classExpressions.ts, 1, 7))
|
|
>A : Symbol(A, Decl(classExpressions.ts, 0, 0))
|
|
|
|
prop: number;
|
|
>prop : Symbol(B.prop, Decl(classExpressions.ts, 1, 30))
|
|
|
|
onStart(): void {
|
|
>onStart : Symbol(B.onStart, Decl(classExpressions.ts, 2, 17))
|
|
}
|
|
func = () => {
|
|
>func : Symbol(B.func, Decl(classExpressions.ts, 4, 5))
|
|
}
|
|
};
|