mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
486 B
Plaintext
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.
|
|
} |