tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck9.ts(1,17): error TS2505: A generator cannot have a 'void' type annotation.


==== tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck9.ts (1 errors) ====
    function* g3(): void { }
                    ~~~~
!!! error TS2505: A generator cannot have a 'void' type annotation.