MemberFunctionDeclaration6_es6.ts(2,5): error TS2391: Function implementation is missing or not immediately following the declaration.
MemberFunctionDeclaration6_es6.ts(2,5): error TS7010: 'foo', which lacks return-type annotation, implicitly has an 'any' return type.
MemberFunctionDeclaration6_es6.ts(3,1): error TS1005: '(' expected.


==== MemberFunctionDeclaration6_es6.ts (3 errors) ====
    class C {
       *foo
        ~~~
!!! error TS2391: Function implementation is missing or not immediately following the declaration.
        ~~~
!!! error TS7010: 'foo', which lacks return-type annotation, implicitly has an 'any' return type.
    }
    ~
!!! error TS1005: '(' expected.