11 lines
495 B
Plaintext
11 lines
495 B
Plaintext
tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNoneExistingIdentifier.ts(3,5): error TS2304: Cannot find name 'undefinedVariable'.
|
|
|
|
|
|
==== tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNoneExistingIdentifier.ts (1 errors) ====
|
|
var x = {
|
|
x, // OK
|
|
undefinedVariable // Error
|
|
~~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'undefinedVariable'.
|
|
}
|
|
|