TypeScript/tests/baselines/reference/emitClassDeclarationWithLiteralPropertyNameInES6.types
2015-04-15 16:44:20 -07:00

34 lines
594 B
Text

=== tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithLiteralPropertyNameInES6.ts ===
class B {
>B : B
"hello" = 10;
>10 : number
0b110 = "world";
>"world" : string
0o23534 = "WORLD";
>"WORLD" : string
20 = "twenty";
>"twenty" : string
"foo"() { }
0b1110() {}
11() { }
interface() { }
>interface : () => void
static "hi" = 10000;
>10000 : number
static 22 = "twenty-two";
>"twenty-two" : string
static 0b101 = "binary";
>"binary" : string
static 0o3235 = "octal";
>"octal" : string
}