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

12 lines
315 B
Plaintext

==== tests/cases/compiler/indexerSignatureWithRestParam.ts (2 errors) ====
interface I {
[...x]: string;
~
!!! An index signature cannot have a rest parameter.
}
class C {
[...x]: string
~
!!! An index signature cannot have a rest parameter.
}