2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/stringLiteralPropertyNameWithLineContinuation1.ts ===
|
|
|
|
var x = {'text\
|
|
|
|
>x : { 'text\
|
|
|
|
': string; }
|
2014-08-22 03:39:46 +02:00
|
|
|
>{'text\':'hello'} : { 'text\
|
2014-08-15 23:33:16 +02:00
|
|
|
': string; }
|
|
|
|
|
|
|
|
':'hello'}
|
|
|
|
x.text = "bar"
|
|
|
|
>x.text = "bar" : string
|
|
|
|
>x.text : string
|
|
|
|
>x : { 'text\
|
|
|
|
': string; }
|
|
|
|
>text : string
|
|
|
|
|