2015-03-12 00:13:08 +01:00
|
|
|
=== tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithStaticPropertyAssignmentInES6.ts ===
|
|
|
|
class C {
|
2015-04-16 01:44:20 +02:00
|
|
|
>C : C
|
2015-03-12 00:13:08 +01:00
|
|
|
|
|
|
|
static z: string = "Foo";
|
2015-04-16 01:44:20 +02:00
|
|
|
>z : string
|
2015-04-13 21:36:11 +02:00
|
|
|
>"Foo" : string
|
2015-03-12 00:13:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
class D {
|
2015-04-16 01:44:20 +02:00
|
|
|
>D : D
|
2015-03-12 00:13:08 +01:00
|
|
|
|
|
|
|
x = 20000;
|
2015-04-16 01:44:20 +02:00
|
|
|
>x : number
|
2015-04-13 21:36:11 +02:00
|
|
|
>20000 : number
|
2015-03-12 00:13:08 +01:00
|
|
|
|
|
|
|
static b = true;
|
2015-04-16 01:44:20 +02:00
|
|
|
>b : boolean
|
2015-04-13 21:36:11 +02:00
|
|
|
>true : boolean
|
2015-03-12 00:13:08 +01:00
|
|
|
}
|
|
|
|
|