34 lines
597 B
Plaintext
34 lines
597 B
Plaintext
=== tests/cases/conformance/es6/classExpressions/classExpressionES63.ts ===
|
|
let C = class extends class extends class { a = 1 } { b = 2 } { c = 3 };
|
|
>C : typeof C
|
|
>class extends class extends class { a = 1 } { b = 2 } { c = 3 } : typeof C
|
|
>class extends class { a = 1 } { b = 2 } : (Anonymous class)
|
|
>class { a = 1 } : (Anonymous class)
|
|
>a : number
|
|
>1 : 1
|
|
>b : number
|
|
>2 : 2
|
|
>c : number
|
|
>3 : 3
|
|
|
|
let c = new C();
|
|
>c : C
|
|
>new C() : C
|
|
>C : typeof C
|
|
|
|
c.a;
|
|
>c.a : number
|
|
>c : C
|
|
>a : number
|
|
|
|
c.b;
|
|
>c.b : number
|
|
>c : C
|
|
>b : number
|
|
|
|
c.c;
|
|
>c.c : number
|
|
>c : C
|
|
>c : number
|
|
|