This repository was archived by the owner on Mar 12, 2025. It is now read-only.
Allow specifying non-iterable return types for generators #854
Labels
good first issue
Good for newcomers
Milestone
We should allow code like
stc/crates/stc_ts_type_checker/tests/conformance/types/asyncGenerators/types.asyncGenerators.es2018.1.ts
Lines 118 to 120 in 87d832a
Currently, stc fails with
But we should not report such errors if the return type is not iterable.
The text was updated successfully, but these errors were encountered: