11 lines
No EOL
495 B
Text
11 lines
No EOL
495 B
Text
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'.
|
|
}
|
|
|