8 lines
No EOL
238 B
Text
8 lines
No EOL
238 B
Text
==== tests/cases/compiler/optionalSetterParam.ts (1 errors) ====
|
|
class foo {
|
|
|
|
public set bar(param?:any) { }
|
|
~~~
|
|
!!! Accessors are only available when targeting ECMAScript 5 and higher.
|
|
}
|
|
|