10 lines
No EOL
437 B
Text
10 lines
No EOL
437 B
Text
tests/cases/conformance/parser/ecmascript5/Accessors/parserSetAccessorWithTypeAnnotation1.ts(2,8): error TS1095: A 'set' accessor cannot have a return type annotation.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/Accessors/parserSetAccessorWithTypeAnnotation1.ts (1 errors) ====
|
|
class C {
|
|
set foo(v): number {
|
|
~~~
|
|
!!! error TS1095: A 'set' accessor cannot have a return type annotation.
|
|
}
|
|
} |