10 lines
No EOL
289 B
Text
10 lines
No EOL
289 B
Text
==== tests/cases/compiler/accessorWithRestParam.ts (2 errors) ====
|
|
|
|
class C {
|
|
set X(...v) { }
|
|
~
|
|
!!! A 'set' accessor cannot have rest parameter.
|
|
static set X(...v2) { }
|
|
~
|
|
!!! A 'set' accessor cannot have rest parameter.
|
|
} |