8 lines
453 B
Plaintext
8 lines
453 B
Plaintext
|
tests/cases/conformance/parser/ecmascript6/ShorthandPropertyAssignment/parserShorthandPropertyAssignment5.ts(2,18): error TS1162: An object member cannot be declared optional.
|
||
|
|
||
|
|
||
|
==== tests/cases/conformance/parser/ecmascript6/ShorthandPropertyAssignment/parserShorthandPropertyAssignment5.ts (1 errors) ====
|
||
|
var greet = "hello";
|
||
|
var obj = { greet? };
|
||
|
~
|
||
|
!!! error TS1162: An object member cannot be declared optional.
|