TypeScript/tests/baselines/reference/parserIndexSignature4.errors.txt
2014-07-12 17:30:19 -07:00

8 lines
321 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature4.ts (2 errors) ====
interface I {
[a = 0]
~
!!! An index signature parameter cannot have an initializer.
~~~~~
!!! A parameter initializer is only allowed in a function or constructor implementation.
}