14 lines
No EOL
546 B
Text
14 lines
No EOL
546 B
Text
tests/cases/compiler/accessorWithRestParam.ts(3,9): error TS1053: A 'set' accessor cannot have rest parameter.
|
|
tests/cases/compiler/accessorWithRestParam.ts(4,16): 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.
|
|
} |