22 lines
420 B
Plaintext
22 lines
420 B
Plaintext
=== tests/cases/compiler/classExpressions.ts ===
|
|
interface A {}
|
|
>A : A
|
|
|
|
let x = class B implements A {
|
|
>x : typeof B
|
|
>class B implements A { prop: number; onStart(): void { } func = () => { }} : typeof B
|
|
>B : typeof B
|
|
>A : A
|
|
|
|
prop: number;
|
|
>prop : number
|
|
|
|
onStart(): void {
|
|
>onStart : () => void
|
|
}
|
|
func = () => {
|
|
>func : () => void
|
|
>() => { } : () => void
|
|
}
|
|
};
|