12 lines
No EOL
684 B
Text
12 lines
No EOL
684 B
Text
tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName5.ts(2,5): error TS1169: A computed property name in an interface must directly refer to a built-in symbol.
|
|
tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName5.ts(2,6): error TS2304: Cannot find name 'e'.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName5.ts (2 errors) ====
|
|
interface I {
|
|
[e]: number
|
|
~~~
|
|
!!! error TS1169: A computed property name in an interface must directly refer to a built-in symbol.
|
|
~
|
|
!!! error TS2304: Cannot find name 'e'.
|
|
} |