TypeScript/tests/baselines/reference/stringLiteralPropertyNameWithLineContinuation1.types

21 lines
637 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/stringLiteralPropertyNameWithLineContinuation1.ts ===
var x = {'text\
>x : { 'text\
2015-04-13 23:01:57 +02:00
': string; }, Symbol(x, Decl(stringLiteralPropertyNameWithLineContinuation1.ts, 0, 3))
2014-08-22 03:39:46 +02:00
>{'text\':'hello'} : { 'text\
2014-08-15 23:33:16 +02:00
': string; }
':'hello'}
2015-04-13 21:36:11 +02:00
>'hello' : string
2014-08-15 23:33:16 +02:00
x.text = "bar"
>x.text = "bar" : string
>x.text : string, Symbol('text\
2015-04-13 23:01:57 +02:00
', Decl(stringLiteralPropertyNameWithLineContinuation1.ts, 0, 9))
2014-08-15 23:33:16 +02:00
>x : { 'text\
2015-04-13 23:01:57 +02:00
': string; }, Symbol(x, Decl(stringLiteralPropertyNameWithLineContinuation1.ts, 0, 3))
>text : string, Symbol('text\
2015-04-13 23:01:57 +02:00
', Decl(stringLiteralPropertyNameWithLineContinuation1.ts, 0, 9))
2015-04-13 21:36:11 +02:00
>"bar" : string
2014-08-15 23:33:16 +02:00