Conflicts: src/compiler/diagnosticInformationMap.generated.ts src/compiler/diagnosticMessages.json
7 lines
No EOL
357 B
Text
7 lines
No EOL
357 B
Text
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. |