Files
tsgo/testdata/baselines/reference/submodule/compiler/accessorWithRestParam(target=es2015).errors.txt

13 lines
486 B
Plaintext

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