9 lines
398 B
Plaintext
9 lines
398 B
Plaintext
tests/cases/conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature4.ts(2,3): error TS1169: Computed property names are not allowed in interfaces.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature4.ts (1 errors) ====
|
|
interface I {
|
|
[a = 0]
|
|
~~~~~~~
|
|
!!! error TS1169: Computed property names are not allowed in interfaces.
|
|
} |