6 lines
229 B
Plaintext
6 lines
229 B
Plaintext
==== tests/cases/conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature3.ts (1 errors) ====
|
|
interface I {
|
|
[a?]
|
|
~
|
|
!!! error TS1019: An index signature parameter cannot have a question mark.
|
|
} |