TypeScript/tests/baselines/reference/accessorWithRestParam.errors.txt
2014-09-11 16:11:08 -07:00

10 lines
317 B
Plaintext

==== tests/cases/compiler/accessorWithRestParam.ts (2 errors) ====
class C {
set X(...v) { }
~
!!! error TS1053: A 'set' accessor cannot have rest parameter.
static set X(...v2) { }
~
!!! error TS1053: A 'set' accessor cannot have rest parameter.
}