TypeScript/tests/baselines/reference/accessorWithRestParam.errors.txt
2014-12-01 22:03:41 -08:00

14 lines
555 B
Plaintext

tests/cases/compiler/accessorWithRestParam.ts(3,11): error TS1053: A 'set' accessor cannot have rest parameter.
tests/cases/compiler/accessorWithRestParam.ts(4,18): error TS1053: A 'set' accessor cannot have rest parameter.
==== 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.
}