7 lines
391 B
Plaintext
7 lines
391 B
Plaintext
tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck6.ts(1,17): error TS2322: Type 'IterableIterator<any>' is not assignable to type 'number'.
|
|
|
|
|
|
==== tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck6.ts (1 errors) ====
|
|
function* g1(): number { }
|
|
~~~~~~
|
|
!!! error TS2322: Type 'IterableIterator<any>' is not assignable to type 'number'. |