TypeScript/tests/baselines/reference/emitClassDeclarationWithStaticPropertyAssignmentInES6.types

22 lines
325 B
Plaintext
Raw Normal View History

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