6 lines
278 B
Plaintext
6 lines
278 B
Plaintext
==== tests/cases/conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration1.ts (1 errors) ====
|
|
class C {
|
|
get a() { }
|
|
~
|
|
!!! error TS2378: A 'get' accessor must return a value or consist of a single 'throw' statement.
|
|
} |