2014-11-13 21:02:13 +01:00
|
|
|
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandProperties4.ts(3,5): error TS2304: Cannot find name 'undefinedVariable'.
|
2014-11-11 20:31:45 +01:00
|
|
|
|
|
|
|
|
2014-11-13 21:02:13 +01:00
|
|
|
==== tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandProperties4.ts (1 errors) ====
|
2014-11-11 20:31:45 +01:00
|
|
|
var x = {
|
|
|
|
x, // OK
|
|
|
|
undefinedVariable // Error
|
|
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
!!! error TS2304: Cannot find name 'undefinedVariable'.
|
|
|
|
}
|
|
|
|
|