TypeScript/tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES5.types

22 lines
375 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit1_ES5.ts ===
class C {
>C : C
["" + ""]() { }
>"" + "" : string
2015-04-13 21:36:11 +02:00
>"" : string
>"" : string
get ["" + ""]() { return 0; }
>"" + "" : string
2015-04-13 21:36:11 +02:00
>"" : string
>"" : string
>0 : number
set ["" + ""](x) { }
>"" + "" : string
2015-04-13 21:36:11 +02:00
>"" : string
>"" : string
>x : any
}