9 lines
423 B
Plaintext
9 lines
423 B
Plaintext
tests/cases/conformance/es6/Symbols/symbolProperty59.ts(2,5): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'.
|
|
|
|
|
|
==== tests/cases/conformance/es6/Symbols/symbolProperty59.ts (1 errors) ====
|
|
interface I {
|
|
[Symbol.keyFor]: string;
|
|
~~~~~~~~~~~~~~~
|
|
!!! error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'.
|
|
} |